- Home /
Why am i getting better performance while object is selected from hierarchy?
I'm working on a motocross game where the bike and driver are both under "Bike root" parent object. Bike root is the heaviest gameobject at the scene. I'm getting 80fps when running the game in the editor, and if i choose Bike root from hierarchy fps bumps up to 110fps-120fps. Any ideas why? It would be vital to get this performance boost to iOS build as i'm getting terrible performace even at iPad retina.
Answer by Tagaris · Apr 21, 2013 at 04:48 PM
I too have a scene with hundreds of game objects and the editor statistics indicate that the FPS are going up, if I select all the objects. However, I believe that this is an error of the editor, because it is not displaying the real FPS and instead is trying to display the expected game FPS (and not counting engine processing time).
If you write a small FPS display script yourself (or use the one from the unity3d wiki) you will find, that in fact the FPS are not increasing, but decreasing drastically if you select many objects in the hierarchy. The high number in the statistic window seems to be a calculation error when trying to subtract the FPS loss of the editor.
Please note that I don't know your game, so this may not necessarily be the case for your project.
Your answer
Follow this Question
Related Questions
iPad Performance 1 Answer
Performance woe - full log given 1 Answer
Low frame rate with only one texture on iPad 4 Answers
Mobile Games, what is too heavy? 1 Answer
Best way to create/design modular Player 2 Answers