godot
godot copied to clipboard
Godot 4 And Above Freezing When Saving Files
Tested versions
- Tested In Godot 4.0 stable and 4.2.1 Stable
System information
Godot v4.2.1.stable - Ubuntu 22.04.4 LTS 22.04 - Wayland - GLES3 (Compatibility) - Mesa Intel(R) HD Graphics (BYT) () - Intel(R) Celeron(R) CPU N2806 @ 1.60GHz (2 Threads)
Issue description
Sometimes When I Try To Save A Scene, Or Creating A Script To A Node, Godot Just Randomly Freezes And Becomes Unusable. It Usually Happens When I Try To Save A Scene, But It Also Happened When I Tried Creating A Script Or Saving A Node As A Scene. ( Godot 3.6-beta4 and below work as intended )
Screencast from 07-04-2024 18:38:56.webm
Steps to reproduce
- Open Godot 4.0 stable or Above
- Load A Project
- Save A Scene/Create A Script
- Bug Happens
Minimal reproduction project (MRP)
N/A
--verbose Output
I'm seeing this issue too with Godot 4.2.2-rc3 and 4.3-dev5. I don't think it happened with 4.2.1, maybe it did but not that frequently. It happens randomly.
My system is Debian GNU/Linux 12.5, X11, Nvidia RTX 2700 Super with official drivers 525.147.05.
Godot becomes completely unresponsive, except that I can still switch from the dialog to the main window but it doesn't react to anything. I have to kill it from a terminal.
I'm seeing this issue too with Godot 4.2.2-rc3 and 4.3-dev5. I don't think it happened with 4.2.1, maybe it did but not that frequently. It happens randomly.
My system is Debian GNU/Linux 12.5, X11, Nvidia RTX 2700 Super with official drivers 525.147.05.
Godot becomes completely unresponsive, except that I can still switch from the dialog to the main window but it doesn't react to anything. I have to kill it from a terminal.
Me, along with some peoole on discord found that using --single-window
when opening godot, helps minimize the freezes
Thanks @MMT007.
@Sauermann What more testing can we do? Do you need some more info?
It seems to happen after the actual saving of files since I haven't lost any edits so far. It's a soft lock, a TERM signal forces quit.
I get this issue as well in Godot 4.2.2. I open my project, do nothing else then just press Ctrl+S, and then Godot hangs. I have repeated this 3 times (killed the Godot process, reopened Godot, press Ctrl+S), and it hangs everytime.
This never happened to me on Godot 4.1. I'm on Windows.
Funny as I was typing this it suddenly unfroze, after about one minute. And now I can press Ctrl+S repeatedly and it doesn't freeze. Oh well.
Ok, I must correct myself. I just downloaded Godot 4.1.4 and tried saving my project again. It immediately froze. So me saying it never happened in Godot 4.1 wasn't actually true.
But my old game which is completed now, and which I developed all the time in 4.1, (maybe about 100 hours in total) never froze. Not even a single time.
So it's something with my new project that's causing this. And it could be one of the addons I have installed. I will try to remove them and see is the issue goes away.
i have this issue too, from time to time, not often, and then it hangs exactly on the same spot on the progress bar, around 70%
maybe this is useful to note, for those that are going to fix the bug, if godot freezes, and i open it up again the changes that i made before the freeze did get saved
took a screenshot, this is the exact spot where godot freezes for me every time, seems to be during thumbnail creation
In that case likely a duplicate of #70974 which was just fixed by #91630
I am experiencing the same issue as op, where it freezes at 100 percent, but it does still save my progress. I am on the latest dev build (Godot 4.3 dev 6) but it has happened ever since Godot 4.
I am using Debian 12 GNU/Linux with Gnome as my desktop manager.
@Smorty10 i think the fixes that @Zireael07 mentioned will fix the issue, but not 100% certain
I have this error too when i run a scene and changes are saved. Save windows hangs with 100% and i have to kill godot.
Godot v4.2.2.stable - Linux Mint 20 (Ulyana) - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1660 Ti (nvidia; 535.171.04) - Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz (4 Threads)
@MMUTFX2053 A friend of mine is experiencing this issue as well. Did you ever get to pause the process and look where it's stuck?
@QbieShay not sure what you mean, this happens sometimes during saving, but when it does godot freezes up completely, nothing else i can do but to terminate it and restart, but i did notice that the changes are getting saved, also, deleting the cache seems to help a bit, the freezes happen a bit less often.
I was talking about attaching a debugger to Godot to see where it's stuck. I'll see if friend can repro
im still getting this crash, in 4.3 stable
I am also experiencing random crashes when saving on 4.4dev. It doesn't happen most of the time, but occasionally it will freeze at 100%, and I have to kill the process to stop it.
same here on 4.3stable, it block saving at 75% or 100%, my only solution is to kill app