Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot 4.3 becomes highly unresponsive, likely due to Windows 11 24H2 update #102095

Open
JacobCormier opened this issue Jan 27, 2025 · 14 comments
Open

Comments

@JacobCormier
Copy link

Tested versions

  • This issue is on Godot 4.3.stable.official [77dcf97], unsure of other versions. This issue didn't seem to happen with the limited testing I did with v4.2.stable.official [46dc277]
  • Windows 11 version 24H2

System information

Windows 11 - Godot 4.3.stable.official - Vulkan (Forward+) - AMD Ryzen 7 5800X3D 8-Core Processor - 3.40 GHz - NVIDIA GeForce RTX 2070

Issue description

After my pc installed the latest Windows update yesterday (24H2), all Godot projects in 4.3 become highly unresponsive on launch. Even opening new blank projects seems to create unresponsiveness. Even after long load times, if a project does manage to launch to the editor, the editor is also highly unresponsive.

Fixes attempted:

  • restarting the editor
  • restarting the pc
  • deleting the .godot folder and re-importing files
  • deleting the entire project and re-cloning it from version control
  • running Godot as administrator

Steps to reproduce

On the newest feature update to Windows 11, 24H2. Create a new project and try to interact with the editor on v4.3.stable.official [77dcf97].

Minimal reproduction project (MRP)

On the newest feature update to Windows 11, 24H2. Create a new project and try to interact with the editor on v4.3.stable.official [77dcf97].

@Calinou
Copy link
Member

Calinou commented Jan 27, 2025

I can't reproduce this on 4.3.stable, despite having upgraded from 23H2 a few days ago.

PC specifications
  • CPU: Intel Core i9-13900K
  • GPU: NVIDIA GeForce RTX 4090
  • RAM: 64 GB (2×32 GB DDR5-5800 C30)
  • SSD: Solidigm P44 Pro 2 TB
  • OS: Windows 11 24H2

Double-check your connected USB devices, as you may be affected by #20566.

@JacobCormier
Copy link
Author

I haven't changed any peripherals since this started, as this issue started overnight. Do you have any advice for how I would go about checking peripherals being the cause?

@JacobCormier
Copy link
Author

The editor itself becomes unresponsive, so it sounds similar in some cases, but when i ran it from the console there was never any code to tell me what was happening. I'm unable to do anything in the editor, and the only difference I can find on my pc is the windows update which happened yesterday. My most recent driver update was in December according to the drive updates log, and I haven't disconnected/reconnected anything in the last few weeks. I really don't know how to proceed with this issue.

@Invium-GH
Copy link

Which security suite/software are you using? Godot could have been falsely flagged as malware of some kind. Especially since it was recently used as a payload delivery for actual malware.

@JacobCormier
Copy link
Author

I only have windows defender on this machine at the moment, so I don't believe this is the issue. Let me know how I could check if defender is causing this!

@Invium-GH
Copy link

I only have windows defender on this machine at the moment, so I don't believe this is the issue. Let me know how I could check if defender is causing this!

By disabling Windows Defender.

Open the Windows Security app.
Click Virus & threat protection on the main menu or the left-side pane.
Under Virus & threat protection settings, click Manage settings.
Switch the toggle under Real-time protection to Off.

Cannot confirm this actually is the case, I just quickly Googled it. I use Manjaro (Arch Linux based) myself. But, these steps should be correct.

@JacobCormier
Copy link
Author

I turned off the Real-time protection like you said (thank you for the accurate instructions) but it did not fix the issue. Godot can barely import all of my files from other repositories, and even if I start a brand new project it is incredibly slow and unresponsive.

@Invium-GH
Copy link

I turned off the Real-time protection like you said (thank you for the accurate instructions) but it did not fix the issue. Godot can barely import all of my files from other repositories, and even if I start a brand new project it is incredibly slow and unresponsive.

Thanks for trying. It was good to try. We can at least rule out some background activity out as the cause now. Since I can't imagine any other process other than Windows Defender interfering with Godot.

Any remarkable logs in Windows Event Viewer?

@JacobCormier
Copy link
Author

I've never used Windows Event Viewer before, but I navigated to Windows Logs > Application and got a list of events, I found a few of the errors from me starting the editor, but they seem to just be hang reports:

Image

Does this seem like I looked in the right place? Should I be checking for something different?

@Invium-GH
Copy link

That is the event viewer indeed and that is indeed the correct event. Does it show any more details in the details tab?

@JacobCormier
Copy link
Author

Okay, so I reproduced the error and tried to interact with Godot while the issue was happening for a while to see if it would trigger any events, but it was just unresponsive with no events. Then when I force closed the program, I got the 3 events in the first picture. The error with Godot is the same I showed before, and the second picture shows the details panel. It looks to me that maybe it's just a default application hang message?

Image

Image

@Invium-GH
Copy link

maybe it's just a default application hang message?

What has me somewhat concerned is the HangType. Unknown. Something peculiar is going on. Given your original report, it could still be worth investigating further. Since you mentioned it not happening with v4.2 of Godot. Would you be willing to try 4.4? And would you also be willing to re-confirm that it does not happen with 4.2?

If 4.2 still runs fine and both 4.3 and 4.4 hang, there is obviously is something about Godot's changes in those versions which runs into this hang. Which could still indicate some sort of faulty behavior that this Windows update you installed chokes on.

Another thing I'd like you to test... is a different rendering driver. You ran the tests on Vulkan. Would you be willing to test it with Godot running over OpenGL3 instead? Just run it from the command line with --rendering-driver opengl3 as command line option.

@JacobCormier
Copy link
Author

I've reconfirmed my editor works in 4.2, and I checked v4.4.beta1.official [d33da79] and strangely enough, it works! I seem to only be having these issues with the 4.3 version, and I reconfirmed they are still happening.

I tried running it with OpenGL3 as instructed, and was met with the same issue. The console for Godot did have warnings and errors this time, but I don't see how they are related.
Image

With 4.4 working for me I may be able to get my project running, it seems more compatible than 4.2 was with what we have already. So thank you for the suggestion! I'll still try some more fixes for this because I'd love to know what's wrong.

@Invium-GH
Copy link

So thank you for the suggestion!

Thanks for the quick follow up tests. More information is always helpful. And, very good news to hear 4.4 does seem to be working correctly. That should make it a lot easier for someone to git bisect the cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants