Godot 4.6rc1 crashing my computer?

Godot Version

Godot v4.6-rc1

Question

Hello! I was trying to update my 4.4 project to the newest 4.6 version but it seems to be very unstable? Like, to the point it’s freezing even my entire laptop sometimes? Is anybody else here experiencing this as well? I’m on Windows 11, btw.

I’ve installed the one from the official website, so I don’t think that’s the problem.

I have a 3d project and the blog says to use the “project upgrade tool”, which I’m assuming it’s the “import” button (and assuming is necessary here because the image is broken), but it doesn’t help doing anything.

The console doesn’t help either. It just crashes without showing any error.

Somehow this affects the task manager too. I’m unable to get to the “performance” tab in the task manager if I wasn’t there already because it crashes the task manager. The “details” tab stops too, but I just get a blank tab instead of a crash.

Something very strange is how even the project manager feels a bit unstable sometimes. If I leave it opened unattended for too long it will become unresponsive. After some time it also disappears from the task manager process list, despite the actual window not disappearing? At least I can close the crashed task manager by spamming the close window X button.

Whenever the program crashes I am unable to properly close it. I’m able to close the console but even then the project manager will not close. Trying to press the software power off button takes too long, I’m assuming because the computer is unable to close it (haven’t tried leaving it overnight but it definitively takes more than an hour to power off if it does at all) so I have to press the physical power button a few seconds in order to do a reboot. I’m also unable to open another Godot instance while this one is opened. This makes testing incredibly difficult.

Sometimes if I’m fast enough(?) I’m able to open my project, but the program crashes before I can even see anything in the actual project. Safe mode does not help.

Furthermore, if I leave it alone for too long (which I have to, since the computer seems unable to end the task even with the task manager) I think it’s causing some memory leak issues, because my computer slowly becomes unresponsive until I’m basically forced to make a hard reset (ie press the physical power off button).

It should be of note that I’m perfectly able to open the project in the 4.4 editor as well as update to 4.5. But I’m unable to update it to 4.6 due to the aformentioned issues. Staying in 4.4 for extended periods of time does not cause my computer to freeze.

Anybody has any idea of what is causing this?

Thank you!

You might want to run the console version of Godot from the command line — for example, from Windows Terminal (this part is important). That way you can see the error/exception along with the full stack trace printed there. Copy it and paste it here, or include it in a bug report.

1 Like

Didn’t result in anything different from the testing I’ve delineated in my initial post and I was unable to acquire any information due to it.

1 Like

Oh, I’m sorry I somehow missed that info in your original post. You may try “–verbose” option while starting editor, but I doubt it’ll show something useful. Still.. worth a try.

2 Likes

Hm, I could try that.

Any idea regarding the “project upgrade tool“ thing? To they mean just the “import” button or is something else?

I’m running the same version (4.6rc1…) on my Xeon Windows 11 PC, 16Gb, GT1030 2Gb video, with no issues whatever. All my Projects converted themselves automatically upon first launch, and run successfully since. I have very few plug-ins, though, and no ‘sneaky tricks’ in my Projects. Hope this helps.

It seems the issue is caused by the thumbnail generation tool. That runs in a thread, which can cause resource conflicts. I modified the engine to skip the point of error. The fact that you can create a new blank project without problems is likely due to that. If it is, try starting the engine several times until all thumbnails are generated. You can also compile the engine yourself to disable thumbnail generation.

Hmm, that’s interesting. I have no idea of how to compile the engine myself nor how to navigate the source code. Do you mind sharing the part you modified?

Oh! I forgot to ask. Were you having the issue in the editor or in the project manager?

I encountered it in an editor. My editor only compiles Windows versions and was developed for making my own games. It has undergone significant modifications. Although it’s currently open source, it’s not very stable right now, but it will definitely be closed source once it’s stable. I really want to share it.

Hmm I see, I think it you might have had a different issue from the one I’m having.

Further testing suggests it’s actually Vulkan that’s causing the the issue for me?

Using Vulkan in 4.6 seems to crash the editor, even though it worked on 4.4 and 4.5.

Changing it to D3D12 in a previous version before updating seems to enable me to open in 4.6.

Still doesn’t answer why the Project Manager crashes, but it’s an improvement…

Did you disable d3d12? There’s a problem with godot initializing Vulkan. I raised this issue before, and it took me ages to fix. Then I raised it again, and they ignored me, saying it was already resolved. So I had to fix it myself.

The main reason is that after struggling for ages, they still found the current program’s instance handle to be incorrect. I’m speechless. They didn’t even bother with testing.