Godot unresponsive bug

Godot Version

4.3 Stable
Occurring on both standard and .NET

Question

I’ve been having this issue since ~3.5 Stable release but haven’t seen anyone else with this issue. I will be using the engine just fine after performing a restart on my machine - after anywhere between 10 minutes to 5+ hours of use the engine will become unresponsive for ~2 minutes. Then after this happens, all godot windows that are opened after this event take anywhere between 1 minute to 4 minutes to load having an unresponsive window icon and will crash if played with too much. I’ve attempted to launch with console but no errors are shown when this is occurring. The only fix I’ve found is by restarting the machine - which leads me to believe it’s based on some driver or service running on the OS and not godot-specific; but this is the only application that I have that breaks seemingly for no reason. I know the issue isn’t project related because even on a fresh instance of godot with all appdata deleted on a fresh load it will still take up to 4 minutes to load just the base engine interface to create a new project with none available for selection.

I’ve attempted the following to resolve this issue:

  • deleting and reinstalling drivers related to my mouse and keyboard
  • deleting all files related to godot - including registry files
  • upgrading my machine from windows 10 to windows 11
  • completely uninstalling graphics drivers with DDU and reinstalling from manufacturer’s website

My system specs:
OS: Windows 11 24H2
Processor: i5-9400F
RAM 32GB single stick DDR4
GPU: RTX 3060 ti
MOBO: ASUS Prime H310I-PLUS
Keyboard: SteelSeries Apex 7
Mouse: Logitech G502 Hero

If you need anything else let me know. I have no idea why this keeps happening and it’s aggravated me to the point where I made this account just to put this on here since I’ve seen absolutely nothing related to my issue since 3.5

I can only assume, out of the realm of fiction, that Asus motherboards don’t like Godot for some reason. I have a similar situation.

Does it slow down only the engine or the whole computer including Explorer?

just the engine itself. I can run other programs with no issue, file explorer runs just fine as well as other system applications. event viewer doesn’t seem to catch any system or application logs for godot either

So your situation is different from mine. Then I can’t tell you anything, unfortunately.

Have you tried opening this up as an issue on the official GitHub repo? That’s probably a better place where more tech savvy people could help you get to the bottom of things.

Again, in order of fantasy.

Dual Channel Memory Architecture

the cause could potentially be this. Other programs may not use as much memory as the engine. Do you still have heavy programs like Blender?

I was going to but I don’t think this is specific to the engine if it’s only happening on my desktop - I don’t have this issue on my laptop and I haven’t seen this widely reported. I was hoping to be able to get someone here who’s already seen and resolved the issue before going directly to the repo

I had recently upgraded my RAM, originally was on dual stick 16GB of 2x8 and was still having this issue (back when I was using 3.5). So I’m not sure if this is necessarily the reason. I have some sticks of ram laying around and will try though

Also just in case - my RAM is configured to 2666MHz

Is that its nominal specs?

that’s the highest speed my motherboard supports, though it shouldn’t be an issue since that’s relatively low to mid range speeds, and I believe the stick I have goes to 3200MHz

The safest thing to do is to let the board determine the memory settings automatically.

Usually dual-channel mode works well with two identical sticks.

Do you run other heavy programs on the computer?

Sounds like some sort of file scan is happening, probably windows updates or defender anti-virus, since it’s so consistent in timing. It’s most likely something software side, I can’t imagine this being a hardware issue, if it really only affects Godot.

Sorry yes, the motherboard autoconfigured the speed, I haven’t adjusted it at all just letting it be known just in case somehow that’s causing an issue

I’m running system updates now to check

You could try other versions, does this also happen with empty projects?

Download archive: Godot download archive – Godot Engine


Which renderer is used?
image

this happens to the engine from launch itself. It’s independent of any project new or old, launching “Godot 4.3 stable.exe” will have the same result with the initial window and any window after. I’m still waiting for it to happen since it will just start randomly anywhere between 10 minutes after I restart to multiple hours after. But once it starts it doesn’t resolve until I restart again

updated and restarted, was using the engine since the restart with no issue until just now, looks like that wasn’t it

Update
still not resolved and attempted the following:

  • changing which drive godot is stored on D to C
  • disabling VSync on all available platforms: windows, Nvidia and Godot’s engine preferences/settings
  • disabling and re-enabling some game-related services in Automatic, Manual, and Manual (triggered)

I’m pretty much at the end of my rope on ideas

  • this happens to the engine from launch itself.
  • launching “Godot 4.3 stable.exe” will have the same result with the initial window and any window after.

try --verbose --benchmark :

Docs: Command line tutorial — Godot Engine (stable) documentation in English

output on my MacMini

alex@Macmini-1 MacOS % ./Godot --verbose --benchmark
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Using "default" pen tablet driver...
OpenGL debugging not supported!
Shader 'CanvasSdfShaderGLES3' SHA256: b98ee1ed91549f0ab150b9e87d6551853ca00fb5eb4a2ecff3e8f18b681eec47
Shader 'SkeletonShaderGLES3' SHA256: eb2295bf8b3ec27d92b55d056d24da40f09d0c3e8d74533778918b6b9941c082
Shader 'ParticlesShaderGLES3' SHA256: 77d74e5323fe8c6e771fc3e80eb14bdfbc55080eadb7083e5e229e52049cc8ff
Shader 'ParticlesCopyShaderGLES3' SHA256: 7d572c9081413a8d07c6bdd08c8c055d71ecc6709f1d078f8d426566ffa2db57
Shader 'CopyShaderGLES3' SHA256: 1d32d398fd825d839f43a116a0becfaf871482c5b258032760b5b88a028c8946
Shader 'CubemapFilterShaderGLES3' SHA256: f62c1312152d32d273809036e92af2bc169675e2d2a36c9a41d73f6ef156edf6
Shader 'GlowShaderGLES3' SHA256: ad97a638b54e05d07cf587fcf8b710f90f41ee63e6b09e39b4911eaf08206419
Shader 'PostShaderGLES3' SHA256: e9b196745010fe5efe742f752da96d77aee190210f71c8b18a0be44d34571c9c
Shader 'CanvasShaderGLES3' SHA256: acd786f4a7abb9743d671d0fa169953efba6778aa787a24d4b884d6b037b6e1d
Shader 'CanvasOcclusionShaderGLES3' SHA256: c711702a50d966da5740a88e681d5e9129702db51ac4ac77ed028f86a72a4495
Shader 'SceneShaderGLES3' SHA256: b34faba057e3fdc04982aed060ebc4abddeeff5b5605c027ee45f92a94af6229
Shader 'SkyShaderGLES3' SHA256: 3aae81dea94f27cbe113a037faa226ab68d62919db743627c404b213bcd05617
OpenGL API 4.1 Metal - 89.3 - Compatibility - Using Device: Apple - Apple M1
CoreAudio: detected 2 channels
CoreAudio: audio buffer frames: 512 calculated latency: 11ms

TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH: 966092234
EDITOR API HASH: 444927587
EditorSettings: Load OK!
EditorTheme: Generating new theme for the config '66886095'.
EditorTheme: Generating new icons.
EditorTheme: Generating new fonts.
EditorTheme: Generating new styles.
Project is missing: /Users/alex/Develop/godot-github/platform/android/java/app/assets/project.godot
Project is missing: /Users/alex/Develop/Godot/Bugs/bug_94852_godot.net/project.godot
2024-10-09 16:59:43.213 Godot[14411:1211698] +[IMKClient subclass]: chose IMKClient_Legacy
Loaded system CA certificates
BENCHMARK:
	[Startup]
		- Main::Setup: 10.600 msec.
		- Initialize Early Settings: 1.551 msec.
		- Servers: 259.131 msec.
		- Setup Window and Boot: 10.241 msec.
		- Translations and Remaps: 0.077 msec.
		- Text Server: 0.704 msec.
		- Scene: 106.454 msec.
		- Platforms: 0.152 msec.
		- Finalize Setup: 31.375 msec.
		- Main::Setup2: 424.856 msec.
		- Project Manager: 505.613 msec.
		- Main::Start: 574.915 msec.

	[Core]
		- Register Types: 3.021 msec.
		- Register Extensions: 0.275 msec.
		- Register Singletons: 0.308 msec.

	[Servers]
		- Register Extensions: 24.473 msec.
		- Modules and Extensions: 2.578 msec.
		- Input: 13.230 msec.
		- Display: 62.781 msec.
		- Tablet Driver: 0.037 msec.
		- Rendering: 110.121 msec.
		- Audio: 40.395 msec.
		- XR: 0.007 msec.
		- Register Singletons: 0.133 msec.

	[Scene]
		- Register Types: 73.690 msec.
		- Register Singletons: 0.003 msec.
		- Modules and Extensions: 32.653 msec.

	[Editor]
		- Register Types: 7.038 msec.
		- Modules and Extensions: 0.022 msec.

	[EditorTheme (Startup)]
		- Register Icons: 39.347 msec.
		- Register Fonts: 151.249 msec.
		- Create Base Theme: 305.225 msec.
		- Merge Custom Theme: 0.001 msec.
		- Generate Theme: 305.232 msec.

Maybe it already says what causes it, later I could create a custom version for you with more debug output.

When I ran it these are the 2 lines it got hung up on (the last output I saw before it stopped printing):

NVAPI: Disabled G-SYNC for windowed mode successfully
WASAPI: audio buffer frames: 480 calculated latency: 10ms
C:\Game Development\godot>Godot_v4.3-stable_win64.exe --verbose --benchmark

C:\Game Development\godot>Godot_v4.3-stable_win64.exe --verbose --benchmark

C:\Game Development\godot>Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
TextServer: Added interface “Dummy”
TextServer: Added interface “ICU / HarfBuzz / Graphite (Built-in)”
Native OpenGL API detected: 3.3: NVIDIA - NVIDIA GeForce RTX 3060 Ti
NVAPI: Init OK!
NVAPI: Disabled OpenGL threaded optimization successfully
NVAPI: Disabled G-SYNC for windowed mode successfully
Using “winink” pen tablet driver…
Shader ‘CanvasSdfShaderGLES3’ SHA256: 8d4453d88e860846f7a8f35346a582a3d862f7d4ca018c8e89b43b2a51ba957b
Shader ‘SkeletonShaderGLES3’ SHA256: cda1fd96da61ddf40eed2f39cbd2981c368c9ff21371735a7b3966081723edbe
Shader ‘ParticlesShaderGLES3’ SHA256: 7f9c799a650c60007851d6880824b5074990c8f852aa3378d9017f8059ac2368
Shader ‘ParticlesCopyShaderGLES3’ SHA256: 5dbb3322dccb897353405c8b01bf6294cf7b3007b6c9bb1fc847245313b776d2
Shader ‘CopyShaderGLES3’ SHA256: ccedad2c9413d055d043395b2d9290ce55b4590951378ef57ddce6fc5ff756a4
Shader ‘CubemapFilterShaderGLES3’ SHA256: 87d775c32adf5be42027b16c6faa0aa53cddaa11e33c80d670a3e6a81812595c
Shader ‘GlowShaderGLES3’ SHA256: 82360bbd2da76ab97b709c797d2a78fe6b1592511584efb55c51c6445abb73ff
Shader ‘PostShaderGLES3’ SHA256: fc676cce70a9a9063080b91720167ad16a8639675c8e9b273a72c8530b774c00
Shader ‘CanvasShaderGLES3’ SHA256: c1fc728001dc08a405fba5272e071c45a3c173ea058a480a4f19d630ba624aed
Shader ‘CanvasOcclusionShaderGLES3’ SHA256: eef9ab51247f274ea84e0e8dc12cb42029fdca60daa2424a29546f41632ea819
Shader ‘SceneShaderGLES3’ SHA256: bfd950b5025ae981a010e62a3b2bf96dc04cbfe93addd2151103a6dd455f276d
Shader ‘SkyShaderGLES3’ SHA256: e5ec328a8976506882740a5f9bf7b5ce5201c7a149611cbf81224a07903355db
OpenGL API 3.3.0 NVIDIA 565.90 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 3060 Ti
WASAPI: Activated output_device using IAudioClient3 interface
WASAPI: wFormatTag = 65534
WASAPI: nChannels = 2
WASAPI: nSamplesPerSec = 48000
WASAPI: nAvgBytesPerSec = 384000
WASAPI: nBlockAlign = 8
WASAPI: wBitsPerSample = 32
WASAPI: cbSize = 22
WASAPI: mix_rate = 48000
WASAPI: fundamental_period_frames = 480
WASAPI: min_period_frames = 480
WASAPI: max_period_frames = 480
WASAPI: selected a period frame size of 480
WASAPI: detected 2 channels
WASAPI: audio buffer frames: 480 calculated latency: 10ms

TextServer: Primary interface set to: “ICU / HarfBuzz / Graphite (Built-in)”.
CORE API HASH: 966092234
EDITOR API HASH: 444927587
EditorSettings: Load OK!
EditorTheme: Generating new theme for the config ‘66886095’.
EditorTheme: Generating new icons.
EditorTheme: Generating new fonts.
EditorTheme: Generating new styles.
Loaded system CA certificates
BENCHMARK:

    [Startup]
            - Main::Setup: 17.430 msec.
            - Initialize Early Settings: 3.026 msec.
            - Servers: 77795.053 msec.
            - Setup Window and Boot: 9.765 msec.
            - Translations and Remaps: 0.106 msec.
            - Text Server: 0.183 msec.
            - Scene: 80.416 msec.
            - Platforms: 0.100 msec.
            - Finalize Setup: 13.619 msec.
            - Main::Setup2: 77924.524 msec.
            - Project Manager: 424.471 msec.
            - Main::Start: 434.741 msec.
    [Core]
            - Register Types: 9.583 msec.
            - Register Extensions: 0.284 msec.
            - Register Singletons: 0.073 msec.

    [Servers]
            - Register Extensions: 14.973 msec.
            - Modules and Extensions: 1.322 msec.
            - Input: 14.457 msec.
            - Display: 42220.150 msec.
            - Tablet Driver: 0.167 msec.
            - Rendering: 34.362 msec.
            - Audio: 35506.983 msec.
            - XR: 0.018 msec.
            - Register Singletons: 0.022 msec.

    [Scene]
            - Register Types: 50.316 msec.
            - Register Singletons: 0.005 msec.
            - Modules and Extensions: 29.989 msec.

    [Editor]
            - Register Types: 2.349 msec.
            - Modules and Extensions: 0.036 msec.

    [EditorTheme (Startup)]
            - Register Icons: 140.686 msec.
            - Register Fonts: 6.301 msec.
            - Create Base Theme: 340.926 msec.
            - Merge Custom Theme: 0.003 msec.
            - Generate Theme: 340.939 msec.

EditorSettings: Save OK!

1 Like