godotengine / godotengine/godot

[macOS] Changing the vertical synchronization cause a system kernel crash

Open
#91,042 4 comments 0 reactions 1 assignee Claimed by @adamscott View on GitHub
bug crash platform:macos topic:rendering
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Godot v4.2.1.stable.mono

### System information

Godot v4.2.1.stable.mono - macOS 14.4.1 - Vulkan (Forward+) - integrated Apple M2 - Apple M2 (8 Threads)

### Issue description

1. When the project is started, trying to change the vertical synchronization in the macos system will cause the macos system kernel to crash and the computer to restart with a black screen.
2. After preliminary testing, the scenario was run through the editor environment. No problem was found the first time, but the second run after closing the window would cause the system to crash.
3. If you use vscode to run the scene in debugging mode, no system crash is currently found.

### Steps to reproduce

1. Open the editor
2. Run the project

### Minimal reproduction project (MRP)

[ErrorDemo.zip](https://github.com/godotengine/godot/files/15073379/ErrorDemo.zip) (.NET version)
[ErrorDemo_gdscript.zip](https://github.com/user-attachments/files/17663973/ErrorDemo_gdscript.zip) (GDScript version)

_Production team edit: Added the gdscript version_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.