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 And Above Freezing When Saving Files #90366

Open
MMT007 opened this issue Apr 7, 2024 · 18 comments
Open

Godot 4 And Above Freezing When Saving Files #90366

MMT007 opened this issue Apr 7, 2024 · 18 comments

Comments

@MMT007
Copy link

MMT007 commented Apr 7, 2024

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

Godot Log.txt

@berarma
Copy link
Contributor

berarma commented Apr 18, 2024

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.

@MMT007
Copy link
Author

MMT007 commented Apr 18, 2024

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

@berarma
Copy link
Contributor

berarma commented Apr 18, 2024

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.

@tufduckhotmailcom
Copy link

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.

@tufduckhotmailcom
Copy link

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.

@MMUTFX2053
Copy link

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%

@MMUTFX2053
Copy link

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

@MMUTFX2053
Copy link

took a screenshot, this is the exact spot where godot freezes for me every time, seems to be during thumbnail creation

Screenshot from 2024-05-14 00-14-42

@Zireael07
Copy link
Contributor

Zireael07 commented May 14, 2024

In that case likely a duplicate of #70974 which was just fixed by #91630

@Smorty10
Copy link

Smorty10 commented May 28, 2024

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.

@MMUTFX2053
Copy link

@Smorty10 i think the fixes that @Zireael07 mentioned will fix the issue, but not 100% certain

@iconberg
Copy link

iconberg commented Jun 5, 2024

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)

@QbieShay
Copy link
Contributor

@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?

@MMUTFX2053
Copy link

@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.

@QbieShay
Copy link
Contributor

I was talking about attaching a debugger to Godot to see where it's stuck. I'll see if friend can repro

@MMUTFX2053
Copy link

MMUTFX2053 commented Aug 16, 2024

im still getting this crash, in 4.3 stable

@regulus79
Copy link

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.

@gattolfo98
Copy link

same here on 4.3stable, it block saving at 75% or 100%, my only solution is to kill app

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