-
-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Description
Godot version
3.5.2
System information
MacBook Air M1 2020 8GB Sonoma 14.0
Issue description
On some M1 Mac systems, setting the rendering thread model to multi-threaded causes the engine to crash when the window size is changed.
This seems to be a race condition and gets progressively worse when the game is actually doing stuff - to the point where a game like ΔV: Rings of Saturn will crash on any attempt to resize the window or switch between full-screen and windowed modes. I have verified that adding a command line of --render-thread safe fixes the problem, so I'm confident that it's caused by the multi-threaded rendering model.
You can replicate this with an empty project without code - it just requires more vigorous mouse movements to trigger.
- Crash recording: https://imgur.com/a/ERIE01f
- OS crash report: crash-report.txt
Steps to reproduce
This replicates only on M1 Macs.
- Create a new project
- Set the rendering thread model to multi-threaded
- Create an empty Node2D
- Run it
- Resize the window rapidly
MRP attached.
Minimal reproduction project
Metadata
Metadata
Assignees
Type
Projects
Status