Godot running slow, what's the cause? How to fix it?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Brinion

Whenever I’m opening Godot 4, a project or running a current scene (just a 2d sprite), etc…, it freezes for a few seconds every time. I noticed while it does that, the Godot icon turns into a blank/square image, just like when something is not working, a “Not Responding” error appears when you left click inside the window. But then that goes away.
enter image description here

enter image description here

Used Windows 10 and 11 X64, same thing happened

1 Like
:bust_in_silhouette: Reply From: zhyrin

The engine is initializing differently (slower) in 4.0.
Does it feel like an issue to you that needs fixing? Compare with unreal or unity.

I don’t know, a friend of mine has no issues, runs instantly when doing the same things I did, and has pretty much the same PC Specs as I have. I also asked around on Twitch chat, streamers using Godot, and they have no issues either.
But yes, to get back to your question.
It’s a bit frustrating and it adds up, imagine working on something an entire day and every time you try run a scene or something, you have to wait like 15 seconds. Time is money, precious, to me at least.

Brinion | 2023-03-17 01:34

I have a weaker pc and for me it’s only about 5 seconds.
The initial load time could depend on how much stuff it has to load.
If you main scene is very big, that might delay it for example.

zhyrin | 2023-03-17 08:20

Like I mentioned in the Main Post, even when I just open Godot, fresh installed, no projects whatsoever, it still loads in 15 seconds. I tried a project with just 1 single sprite (the godot icon), still the same. No matter what I did, same results.
Anyway, thanks for the help. Worse case scenario, I’ll look into some other engine. Have a good day/night!

Brinion | 2023-03-17 14:43

I haven’t looked into how startup changed from 3.x to 4.0, but it’s undoubtedly longer.
Although 15 seconds seems like a very long time!
It might be best to open a github issue about it to bring this to the attention of the developers, maybe add comparisons between 3.x and 4.0 with your specifications.

zhyrin | 2023-03-21 10:14

Hello, I was having the same problem. I pulled the image below from the Godot documentation website. All I had to do was update my mouse driver (ICUE), which seemed to fix the long load times. I suggest seeing if any of your periphery (i.e. mouse, keyboard, monitor) have any software connected to them and find a way to update their drivers.

Longload fix