You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By simply just creating any file, resource or directory the Hyprland session crashes. It is quite difficult to give more context than that. In the aftermath of the crash, it does spam the message:
"!EditorSettings::get_singleton() || !EditorSettings::get_singleton()->has_setting(p_setting)" is true. returning Variant()
at: _EDITOR_GET (editor/editor_settings.cpp:1101)
I do not believe that this is the cause of the crash. Because I am not interacting with the editor settings at all.
However, I did get another error message in some of my tests, when the spam stopped
This tells us that something tried to lock a thread but failed. Not sure if that specifically is Godot's side or Hyprland's side.
I would also like to mention I have tried Godot 3.x versions, it works just fine.
This crash might be due to the setup I have or on Hyprland's part.
I would like to briefly mention that Hyprland is a window tile manager, and works similarly to i3/sway. Though I have not tested if this crash happens there too. The reason why I am mentioning this is mostly because there might be some conflicts between when Godot opens a new window, and how Hyprland handles windows. If, we keep in mind what I mentiond earlier about the mutex error. So it could be a Hyprland problem.
Other than that, there is not a whole lot to work off of from here. I might just have to wait this out and see if it might be because of my setup. So I might have to wait for new updates and such.
And the reason as to why I do not think I have to open an issue in the Hyprland repo. Is because it seems to be a Godot 4.0.x specific issue.
Also one more thing, it seems this does not happen with the saving scenes window, but only when you right-click the FileSystem-tab and attempt to create any resource from there.
UPDATE: Got some more errors that might be a little more helpful
ERROR:connection.cc(46) X connection error received
So XWayland may be involved in this
Additionally, I can create sub-resources in the inspector (i.e. a new Shader) and store the file that way. That works. Odd...
Steps to reproduce
Setup a Hyprland session, then install Godot 4.0.x (be it through the website or through pacman/yay it does not matter)
Create/import any project
Attempt to create a file or a directory inside of godot
Then prepare for the session to crash
Minimal reproduction project
Any project.
The text was updated successfully, but these errors were encountered:
No that seems to fix it, and I disabled it right after to see if the error was predictable. And yes, it crashes again if I turn Single Window Mode off.
but only when you right-click the FileSystem-tab and attempt to create any resource from there.
May be worth trying to reproduce this since #79143 was merged.
It may also be worth mentioning to the Hyprland developers -- even if Godot is doing something wrong/unexpected, the compositor would hopefully deal with that without crashing.
Yes, that seems to be correct. I can now create files and resources from the file system tab, with single window mode disabled. Closing this issue and can be assumed fixed.
Tested with v4.2.dev.custom_build [b7c2fd2]
Godot version
4.0.x-stable
System information
Hyprland Arch Linux v0.23.0beta
Issue description
By simply just creating any file, resource or directory the Hyprland session crashes. It is quite difficult to give more context than that. In the aftermath of the crash, it does spam the message:
I do not believe that this is the cause of the crash. Because I am not interacting with the editor settings at all.
However, I did get another error message in some of my tests, when the spam stopped
This tells us that something tried to lock a thread but failed. Not sure if that specifically is Godot's side or Hyprland's side.
I would also like to mention I have tried Godot 3.x versions, it works just fine.
This crash might be due to the setup I have or on Hyprland's part.
I would like to briefly mention that Hyprland is a window tile manager, and works similarly to i3/sway. Though I have not tested if this crash happens there too. The reason why I am mentioning this is mostly because there might be some conflicts between when Godot opens a new window, and how Hyprland handles windows. If, we keep in mind what I mentiond earlier about the mutex error. So it could be a Hyprland problem.
Other than that, there is not a whole lot to work off of from here. I might just have to wait this out and see if it might be because of my setup. So I might have to wait for new updates and such.
And the reason as to why I do not think I have to open an issue in the Hyprland repo. Is because it seems to be a Godot 4.0.x specific issue.
Also one more thing, it seems this does not happen with the saving scenes window, but only when you right-click the FileSystem-tab and attempt to create any resource from there.
UPDATE: Got some more errors that might be a little more helpful
So XWayland may be involved in this
Additionally, I can create sub-resources in the inspector (i.e. a new Shader) and store the file that way. That works. Odd...
Steps to reproduce
Setup a Hyprland session, then install Godot 4.0.x (be it through the website or through pacman/yay it does not matter)
Create/import any project
Attempt to create a file or a directory inside of godot
Then prepare for the session to crash
Minimal reproduction project
Any project.
The text was updated successfully, but these errors were encountered: