Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Ceilingdoor | |
Old Version | Published before Godot 3 was released. |
The GDScript profiler looks like a handy feature, but I can’t understand how to use it. When I run my game and I’m on the “Profiler” tab in the debugger all I see is this:
and nothing changes even if I tick the “Script Functions” button. Everything is static no matter what I do.
How do I use it?
I tested to enable the profiler on the MiniLens demo, the profiler works fine.
You appear to have a bug somewhere. Also, “Frame # 33768” looks suspicious, because 33768 - 1000 = 32768, and 32768*2 = 65536, which is equal to 2^16. Coincidence? I don’t think so
If you get a perfect repro of the bug on a test project, you can post it on Github Issues · godotengine/godot · GitHub
Zylann | 2016-08-22 12:54
Yup, looks like disabling vsync makes the profiler unable to get the frames right. I get a similar result (which is not static, but broken anyways).
Zylann | 2016-08-22 13:01