As title stated, when there is too many objects in scene (made when a turret object in my scene shoots too many bullets, they do despawn after a duration so its not completely clogging my scene) my enemies stop moving. Running some debug.logs i have discovered that the script and the line is running, but its just not adding any force, as soon as i stop my turret from firing, they start moving again. What is happening?
Note setting the position directly works regardless of number of entities in scene and using any of the update variations (FixedUpdate etc) does not affect result
GameObject.FindGameObjectWithTag- if all 10k bullets ask for this each Update (which should be always the same target, the player, right?), you should probably cache it \$\endgroup\$