- Home /
Low framerate when everything in hierarchy disabled / Statistics bug?
Hi,
I have the free version of Unity, so I haven't the profiler. Atm I measure performance via statistics window, but it seems the framerate is just wrong:
When I'm in playmode and face the camera to an area where less objects/polygons etc are, the framerate in the statistics window go up as expected (about 200 fps). But when I select all objects in the hierarchy and disable them, the framerate drops to like 70 fps. Btw, I also get those 70 fps, when I face the hole scene with all objects active.
Another strange thing is that, when I move the camera and face all objects, the movement gets a bit choppy, but the statistics say 70 fps which is simply impossible, after 60 fps I usually can't differentiate smoothness in other 3D applications or games.
Is that a bug or something else? Btw, I have an i7 and a GTX660Ti, it's strange that I get so low fps though I did really
kept an eye on performance for scripting/modelling/texturing and shading (I used to make games in Director (Adobe) with Lingo and shockwave on a G4, so I have generell experience with performance handling).
about 13 ms main thread and 0.1 ms Renderer
VRA$$anonymous$$ usage: 23.9 $$anonymous$$B of 25.4 $$anonymous$$B (of unknown)
VBO Total: 42 - 1.6 $$anonymous$$B
Rest is 0.
Just made a complete new project, hit play and get the same results!
This is in quality mode "good" (standard settings), when I change it to simplest I get ~400 fps. But even when I face the hole scene in my normal project in best quality it keeps 70-80 fps. I would interpret this behaviour as Unity limits the fps, but why I can get 400 fps in the other case?
Ok, next try: I placed a gameobject with a GUIText in the scene and attached this script for measure fps:
private var txt : GUIText;
function Start () {
txt = guiText;
}
function Update () {
var fps : float = 1/Time.deltaTime;
txt.text = fps.ToString();
}
I get quit constant 60 fps in not heavy crowded areas, so it seems that Unity indeed limits fps. With this script I also can now actually confirm the choppyness when the camera faces the hole scene, the fps drops to like 30.
Anyway, question keeps what the heck is that fps in the statistics-window? It doesn't make sense at all.
Your answer
Follow this Question
Related Questions
Rendering overhead on Android 0 Answers
Editor playback performance on Windows 1 Answer
Performance/framerate issue 0 Answers
Unity 2D demonnstration game goes slowly on Galaxy S3. 0 Answers