In an overly simple project to test the networking system we decided to spawn many objects to see where the limit of the networking system lies.
To our surprise we started seeing serious framerate degradation after ~8000 objects.
The objects are simple :
- Network Identity
- Network Transform
- (Child object is a cube)
- Mesh Filter
- Box Collider
- Mesh Renderer
after spawning ~8000 of these the frame rate dropped to about 25fps even though their send rate is set at 0.
Having a look at the profiler the biggest probem seems to come from
In a multiplayer environment (lets say open world) 8000 objects is not exactly that many.
Now, I’d be the first to say I am not a networking expert, and if for some reason all these objects should not have this specific transform it would be fantastic if someone could enlighten me
Does anyone have idea’s how to fix this?
Unity Version 5.3.2f1