I have a scene with 5 enemies and my main player. The 5 enemies have the same material, way under 300 vertices/tris each, but are not being batched. I created a test scene that only had the 5 enemies in the scene, nothing else, and they do get batched. I removed all code that moves/rotates the enemies thinking maybe that was creating a new instance of the material, but that did not help. What am I missing?
Also, My scene stats say that 5 objects are being batched when the 5 enemies are just off the left edge of the scene view. I also tested this by moving 2 of the enemies further to the right, then moving my player so that those 2 were just off the left edge of the screen. Now the stat window says 2 objects are being batched! Is dynamic batching related to the camera position? and why aren't they being batched when they are in view?