- Home /
Why is this simple low poly asset destroying my framerate?
Hey!
One of my game assets, a really simple nail, is eating up my framerate. The game runs in the editor at around 90 FPS, but when I add six of the nail models, it drops to around 5 FPS.
There are no scripts, colliders, or effects applied to the nails. The framerate rises back to 90 FPS when I turn off the nails' mesh renderer, but the mesh is extremely low poly and shouldn't have that much effect on the framerate.
I tried deleting the nails and adding the equivalent number of polygons with other models and the framerate remained in the 90's.
Does anyone know what might be causing this? Thanks!
Well, that's odd.
If you notice the game window has a "stats" button? That button pops out a widget that includes some helpful information. You could create a new empty scene, drop one nail right in front of the main camera, start play mode, and see how many triangles and draw calls you're getting.
As always: double check there's nothing unusual in your console window.
The nails have a weird non-uniform scale, which could be the problem.
Your answer
Follow this Question
Related Questions
Why framerate of Unity's example SewerProject's scenes higher than an empty new project? 1 Answer
Massive fps drop when laptop plugged in 0 Answers
Refreshrates and vsyncCount, what code should be applied? 0 Answers
Raycast consuming too much ! (VR) 2 Answers
Why is there a 60 fps limit for a PC-Mac build from 2019 onward? 0 Answers