+1 vote

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:
enter image description here

and nothing changes even if I tick the "Script Functions" button. Everything is static no matter what I do.
How do I use it?

asked Aug 21, 2016 in Engine by Ceilingdoor (195 points)

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 :p
If you get a perfect repro of the bug on a test project, you can post it on Github https://github.com/godotengine/godot/issues

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).

1 Answer

0 votes

I know the answer come a little late. But the profiler in Godot is quite powerful, and this video will definitely helps you.


enter image description here

answered Jun 5 by ProggerParrot (116 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.