-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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 crashes the entire macOS desktop #86684
Comments
I just read about the OpenGL issues with macOS in issue #85619. Possibly, my problem is also related to this because my Godot project uses the OpenGL renderer (compatibility) as well. I will switch to the mobile renderer, test it again in the following days, and then provide feedback 🙂. |
I've been working a lot with Godot 4.2.1 (non-mono version) using the Compatibility render on a macOS 14.2.1 - Apple M2 Pro (so, very similar) but I haven't experienced these issues. I am however non using the mono-version of Godot and not using C# or any external script editors. For the compatibility renderer openGL driver, are you using the ANGLE one or the OpenGL3 one? You can set it in the project settings rendering/gl_compatibility/driver in case the issue is related to the ANGLE-driver. |
@lostminds Exactly, when I created my mockup in Godot at the beginning, I had no problems either. The issues only started when I created and edited C# scripts 🤷♂️. Oh, I hadn't activated the advanced settings at all 🙈 . So I had the standard settings... |
I'm on a Mac and my Godot 4.2.1 stable offical keeps crashing the whole desktop too. I'm using VSCode with GDScript outside of the Godot editor. The hardware is an M3 macbook air. |
@karljohannisson Are you using a C# build of Godot? |
@Calinou I don't think so. I have just downloaded the latest stable 4.2.x version from the Godot website. Today I updated from 4.2.1 to v4.2.2.stable.official [15073af] and I'm still experiencing the same thing. Should I open a separate issue for this or do you think it's related? Edit: I've noticed it seems to not crash when I move Godot out of my Applications directory and run it from outside instead. |
Tested versions
System information
Godot v4.2.1.stable.mono - macOS 14.2.1 - GLES3 (Compatibility) - Apple M2 Pro - Apple M2 Pro (12 Threads)
Issue description
I have started work on a new game concept. I used Godot 4.2.1 together with .NET 8 under macOS. As editor, I use Rider with the Godot plugin from JetBrains.
After creating the Godot project, I spent a few hours working on my mockup. I didn't need any scripts for this, so I only worked with the Godot editor. This all went very well.
When I was satisfied with the mockup and I wanted to implement my first C# scripts, the problem occurred. After a few lines of code, the entire macOS desktop froze. When I only work with Rider and .NET 8, this doesn't happen. After a restart, the same thing happened again within a few minutes.
In the macOS logs, I can see that the macOS Windows server crashes first. The reason is, that another process is no longer alive:
Next, the Godot processes crash. I assume that one Godot process is for the editor, and the other is for the language server for Rider. The editor process always crashes in thread
44
, the language server always crashes in thread0
.(I had one Godot process with
parent process=launchd
and another withparent process=rider
)Here are the details for thread
44
(Godot process for editor, i.e. main Godot window):Here are the details for thread
0
(Godot process for language server for Rider):Important to know: This stack trace is always identical when the issue occurs. Even after a restart. So obviously, apart from the memory addresses.
Steps to reproduce
Minimal reproduction project (MRP)
I don't currently have an MRP. I had really just started with my C# script, it was just a few lines of code. I assume that it is not due to the code itself. The scripts also ran without any problems in the game.
This is what my first script looked like at the time:
I was there and wanted to continue writing the script. You can see that the two variables
isPortrait
andisLandscape
are not used. Due to the system crash, I could not continue here.I then worked on a second script that looked similar:
This script is also unfinished. Due to these crashes, I am currently unable to work with Godot under macOS 🙁.
The text was updated successfully, but these errors were encountered: