- Home /
Main Thread slowing down the game
i have a game and the verts are 600k-800k but the main tread is 300 ms at least while the renderer is at 15. i have 500 npc's responsible to about 500k verts and they all have an animator controller. i fear that the animator controler is the issue. what can i do to improve it without lowering the number of NPCs?
Answer by tanoshimi · Sep 30, 2014 at 06:01 PM
You may be right about the animator controller s (500 skinned meshes in a scene is a lot!), but without profiling, there's no way to tell - you'd just be shooting in the dark.
Well i did get it to 15 fps but i dont know how. Is there away of turning them to something "lighter"?
Very difficult to say without knowing more about your game. If they were meshes rather than skinned meshes they could be batched, but slow performance could just as easily be any other part of your game - GUI, AI, poorly-defined loops, inefficient algorithms, shaders.... That's why profiling is essential.