-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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 hangs on popups/modals #60073
Comments
Can you reproduce this after enabling Single Window Mode in the Editor Settings, or starting the editor with the Note that command line arguments are not persisted when going from the project manager to the editor, so you need to edit a project directly from the command line for |
Thanks. I turned on single window mode in the editor settings. I haven't recreated the crash while deleting nodes yet, but when I tried to open the editor settings and disable single window mode, the window didn't open and the editor crashed (hung) same as before. BTW: Single Window Mode looks promising. I like it. |
Next finding about not opening editor settings window. It works with clean project, but hangs with other one. I disabled single window mode in my old project - that's untrue. this setting is global I'm trying to isolate the cause, but Godot can't load my fbx meshes anymore. I ran debug build and it was trying to import fbx again and again, then crashed beautifully:
I'm still trying to reproduce the issue with a clean project. |
Sorry posting here: I had older version of fbx2gltf (0.9.5) which was adding |
The fbx2gltf integration is being worked on in #59810. It's probably a good idea to add version detection on startup by running its Using the V-Sekai fork of fbx2gltf is also highly recommended. In fact, the upstream version of fbx2gltf will probably not be supported (or with a warning on startup), since it doesn't appear to be actively maintained. |
I seem to have a similar problem with hanging popups and I did observe that enabling one window mode did solve the problem, which shouldn't be the permanent solution. I also did notice that this only happens if the Editor Window isn't being rendered, e.g. it happens when I maximize or fullscreen the Popup or put it to another workspace (I'm using sway). The "XCreateIC couldn't create wd.xic" warning I get either way, not sure whether this is a problem because I'm using Wayland. |
For me, Godot 4 is still completely because of the issues with editor UI. When single mode window is disabled, Godot is almost always crashing on popups. When single mode is enabled, the editor "hangs" while opening Editor Settings or Project Settings windows (windows aren't displayed and UI becomes unresponsive). Tested just now on Godot Engine v4.0.alpha.custom_build.25908c17c. |
I've noticed hangs too recently, here is my setup: I started noticing hangs when saving scripts and scenes as recently as Godot 4 Beta 5, just tried Beta 7 and it is still happening. Going back to older Betas does hang now too(!) where it didn't before (pretty confident on this one, been using the alphas and betas a lot). I even completely reinstalled my system from scratch, issue still happens (though, I didn't try prior updating all packages). The current Manjaro Gnome ISO comes with Gnome 42(?) and updates to 43 through the package manager. No idea if this might be the culprit (I've noticed some problems here and there with Gnome 43 unrelated to Godot). Detailed description: When saving a scene using ctrl+s, usually a popup indicating the save progress appears, but randomly (quite frequent) the editor hangs before the popup even shows. Using I tried finding out more using strace and lsof and could see there were some Pipes being read and written to over and over again(?). But I'm not experienced enough to know if this is unusual for Godot (the pipes are owned and supposedly created by the godot process itself, some internal communication path). I'm happy to debug more (no problems compiling Godot myself). If someone has any ideas and can tell me what to do (compile with debug symbols, etc) just let me know. Edit: Regarding Gnome: I just tried Budgie, as well as another display manager (lightdm vs gdm) and another kernel. Nothing changed. Wild guess: Some linter thing getting stuck? What I did notice though, is that the save-dialog hang only occurs when the code-tab is active. When in i.e. the 3D tab the save-dialog never hangs. |
I encountered this hang, and it was fixed using the I suspect a steps to reproduce could be:
My other suspected "steps to reproduce" on here is that I naively copied a huge amount of assets into a |
I have this issue with second layer modal windows, where the redrawing of the window is 1 frame / 4 seconds. |
Similar issue on my end, except the main window completely stops responding. It's still an issue for me on rc4 and seems to have started around |
Closing in favor of #77333, as this appears to be the same issue. The editor appears to hangs because popups are exclusive, but minimized so you can't interact with them. |
Godot version
v4.0.alpha.custom_build.eb6ebdc4a
System information
Manjaro Linux, 5.10.105-1-MANJARO, x86_64, NVIDIA GM107GLM [Quadro M620 Mobile] nvidia 510.54, X11, Vulkan
Issue description
On my setup Godot 4 editor is mostly hanging on opening popups/modals, ie. confirmation of delete a node. This issue makes editor unusable. 90%+ of hangs are related to this issue. It looks like optimized build hangs more often than debug build. Also there is no backtrace, so it is hard to track the issue. This problem has been present in previous builds.
I dumped some logs and last core dump.
An excerpt from a stdout log:
The last ERROR is repeated many times.
A core dump in text format:
Log files (readable with
less -R filename
):Steps to reproduce
Open a project (preferably using optimized build), add some nodes, try to delete nodes. Once in a while the editor will hang on displaying popup/modal.
Minimal reproduction project
PopupCrash.zip
The text was updated successfully, but these errors were encountered: