I am looking to optimize a scene with several occurences of a heavy mesh.
I looked at cloning an imported mesh versus creating instances of it and I would expect that creating instances would yield better performance, but it’s actually the opposite. And I am not sure why.
Please see the following playground:
When I use line 16 (cloning) and comment out line 17 (instancing) I get about 9-10 fps on my machine when rotating the scene. Inspector shows 10 draw calls, which makes sense.
When I use line 17 and comment out line 16 - my framerate drops to 4-5 fps on scene rotation. Here inspector shows 1 draw call, which also makes sense. What doesn’t make sense is that why a single draw call results in lower FPS than 10 draw calls of the same mesh.
Does the mesh have too many verrtices/faces and this is what’s causing a single draw call for 10 instances to take long?
Any insight is appreciated!