Godot 4.7 extremely slow compare to Godot 4.6
Tested versions
- Godot 4.7.1
- No issues on 4.6
System information
Windows 11 - Vulkan 1.4.325 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3070 Ti
Issue description
Hi everyone, I upgraded my project from 4.6.2 to 4.7.1.
On 4.6.2, everything is perfect, the editor is smooth. On 4.7.1, I experience lag spikes on some operations.
I recorded a video to demonstrate:
- Red circles appear where I click left
- I noticed that the visual profiler is going crazy, so I included it
- Below is a list with video time codes and what was tested
When the project is running:
- 0:00 - There is a 1-second delay when I click the “Run project” button and when it triggers
- 0:06 - There is almost a 2-second delay between the time the game is displayed and when the console prints
- 0:13 - Lag spike when my mouse enters the game screen (I thought the lag occurred when I clicked, but hovering the mouse is enough). I did this multiple times
- 0:39 - Lag spike when I press previous and next folder in the Filesystem tab
- 0:53 - Alt-tabbing back from VSCode to the editor is also slow. Alt-tabbing is slow even when the project is not running
https://github.com/user-attachments/assets/730fb567-7293-440c-a984-af209360d04e
I don’t know if it’s related, but this error message pop on one of my projecting running test
ERROR: core/debugger/remote_debugger_peer.cpp:269 - Remote debugger: Packet too large (1953394499 > 8388612 bytes). Disconnecting.
Godot Engine v4.7.1.stable.official.a13da4feb - https://godotengine.org
Vulkan 1.4.325 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3070 Ti
ERROR: core/debugger/remote_debugger_peer.cpp:269 - Remote debugger: Packet too large (1953394499 > 8388612 bytes). Disconnecting.I have no issues with lighter project (this one has 7000 assets and around 2GB)
I deleted the .godot folder. It solved the issue on first project reload but not on the next ones.
I know this issue is hard to reproduce, I am looking for ideas to narrow down the cause. Thanks by advance
Steps to reproduce
Specific to this project
Minimal reproduction project (MRP)
Specific to this project
Source: godotengine/godot