godotengine / godotengine/godot
[macOS] Changing the vertical synchronization cause a system kernel crash
- 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
Assessment
This issue has not been assessed yet.