+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?

in Engine by (198 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

by (130 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.