Godot Version
4.6.2-1.fc43
OS
Fedora Linux 43 (KDE, 6.6.4, Wayland)
Question
I’m running into a weird issue where Godot becomes unresponsive at random intervals, sometimes I can work for 2 hours straight, sometimes it locks up after 10 minutes. It almost always happens after I run the game in debug mode (F5 / Play button).
The strange part: the game itself keeps running fine, nothing actually freezes on the game side. But I can’t stop it from the editor, and Godot itself becomes unresponsive. I have to kill the process via System Monitor and restart.
No data loss so far, autosave seems to catch everything, but it’s annoying enough that I figured I’d ask: anyone else seeing this on Linux / KDE / Wayland? Curious if it’s a known interaction or just my setup 
I’m on Ubunt and I have the occasional crash. I noticed that Godot is much more likely to crash after waking my computer if Godot was open when I put computer to sleep. As long as I close Godot before putting my computer to sleep or close it immediately after waking my computer it is pretty stable.
1 Like
I’m on Ubuntu, use the same Godot version, and also had Godot completely freeze up today for the first time. Godot has never done this to me before. It may just be a funny coincidence, but, I just switched to Wayland only a few days ago.
1 Like
I don’t know if this is related, but I feel it might be worth sharing.
I recently switched to Ubuntu on Wayland. While working on a Godot project today, I decided to start a new project so I could quickly test out a new feature in isolation from the rest of my code. Almost immediately, very strange things started to happen in this new project. While writing code in the editor, new letters would only appear seconds after hitting keys on my keyboard. Buttons would also seemingly appear to freeze their state for seconds at a time. (i.e. if I hovered over one button, then moved to another, Godot would still keep the previous button highlighted for several full seconds.)
Logging out and starting a X11 session seemed to make Godot responsive again. I tried this several times, and the weird laggy behavior only ever appeared during Wayland sessions.
That’s when I opened the project launcher, entered the settings menu, and enabled ‘Prefer Wayland’. Now if I open a project I do not see any lag any more. It might be fruitful to do the same and see if that checkbox is unticked.
1 Like
How big is your game, and do you have any plugins enabled? Godot has some internal functions like ::scan which run on the main thread, and if plugins call these functions it can cause a freeze
1 Like
How big is your game, and do you have any plugins enabled?
Thanks for the reply. The only addon I’m using is Aseprite Wizard 6.5.0, and my project is under 100 MB. I’ve actually been running into this issue ever since I started using Godot, regardless of project scope or size.
That’s when I opened the project launcher, entered the settings menu, and enabled ‘Prefer Wayland’
Sounds interesting, I’ll give it a try this evening, thanks for sharing this info 