Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2021.2.0b15

2022.1.0a12

Issue ID

1371276

Regression

Yes

[OSX][Metal] Editor randomly crashes in MetalWindow::EndRendering when Player Settings window is repainted/opened

Metal

-

Steps to reproduce:
1. Create a new project
2. Open Build Settings
3. Open Player Settings
4. Expand Other Settings in Player Settings window
5. Change Color Space to Linear and back to Gamma
6. Close Player Settings
7. Reopen Player Settings
8. Change Color Space to Linear and back to Gamma again

Expected result: Editor does not crash
Actual result: Editor occasionally crashes

Reproduced with: 2022.1.0a12, 2021.2.0b15
Didn't reproduce with: 2022.1.0a11, 2021.2.0b14, 2021.1.25f1, 2020.3.20f1, 2019.4.31f1

Reproduced on macOS 11.6 and 10.15.7, doesn't reproduce on Windows 10

Note:
Editor may randomly crash when moving/docking/closing/reopening Player Settings window, moving it to the secondary monitor, or on editor launch if Player Settings window opens by default
Only Metal editor is affected, OpenGLCore does not crash (switch Graphics API to OpenGLCore in Player Settings for macOS as a workaround)
Only reproduced with the Player Settings window
Editor will occasionally crash immediately on launch if Player Settings window saved in editor layout and opens on launch

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.