Hi everyone,
I have been having this problem for a few weeks, so I thought I’d post the issue here after searching google for hours
Basically, My editors (both 2D and 3D) are very glitchy in my project Shadows Of Fire (semi devlog) - Showcase / Games - Godot Forum, almost like its playing at 12 fps the whole time.
The obvious thing to check through was all my project settings to see if I’d somehow capped the framerate. After hours of searching (I even used ziva AI and other AI tools to check I hadn’t missed anything here) I could not find anything that might cause this lag in my settings.
Shadows of Fire is only a 2D project, while it is quite heavy (lots of Sprites, Shaders, animations, things happening etc.) it is not MASSIVELY dense (it easily runs on my surface pro 7 with a terrible integrated cpu and gpu and only 8gb ram
This could be because I am making this all on my surface 7 pro (terrible specs)
But If anyone else has encountered the same problems or knows a fix then please tell me!
Thank you!
For the tool scripts, Ctrl+Shift+F opens Search in Files. Search for @tool with the scope set to the whole project and that gives you every script that runs inside the editor. Anything doing work in _process or _draw is what I’d look at first.
Past that, the profiler in the Debugger tab only attaches to the running game, so it won’t tell you anything about editor lag. What I’d do instead is close all your scene tabs, see if the editor smooths out, then open them back one at a time. If one scene brings the lag back you’ve narrowed it to that scene, and you can keep going by disabling nodes inside it.
Worth turning on the update spinner too if you don’t have it, it’s under Editor Settings > Interface > Editor > Show Update Spinner. It sits up in the top right and spins whenever the editor redraws. If it’s spinning constantly while you’re sat doing nothing, something is asking for a redraw every frame.