0 votes

My profiler shows drops in the Frame Time from ~31ms to <1ms precisely every 30 frames and the whole scene stutters during this frame. Idle Time which is normally ~30ms also drops to below 1ms.


What confuses me is that I'd expect some script to load the system during that frame which would cause stuttering, but as you can see on the screenshot - nothing of note happens during that frame, if anything, less stuff is happening than in a normal frame.

I will start backtracking my recent commits since it seems to have appeared recently, but does anyone have any idea what might cause this behaviour in theory?

asked May 20 in Engine by kickmaniac (16 points)

1 Answer

0 votes

Googling more gave me the answer on how to workaround this problem, that is to switch off Remote Scene Tree during debugging.

What remains unclear is what exactly caused the start of this stuttering. Was it simply growing complexity of the code? Was it still some poorly optimised _process()? Mysterious.

answered May 21 by kickmaniac (16 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.