Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X
Votes
0
Found in
2019.4.9f1
2020.1
2020.1.17f1
2020.2
Issue ID
1298617
Regression
Yes
[Mac] Editor crashes on MTLGetEnvCase<MTLErrorModeType> on startup when metalEditorSupport is set to 0 in the ProjectSettings
Reproduction steps:
1. Create a new project
2. Go to Project's root folder > ProjetSettings > ProjectSettings.asset
3. Find "metalEditorSupport" and set it to 0
4. Open the project
-- Observe the crash
Expected result: the Editor should fallback to other Graphics API or prompt an error message informing the Metal API support is disabled
Reproducible with: 2019.4.9f1, 2019.4.17f1, 2020.1.17f1, 2020.2.0b1
Not reproducible with: 2018.4.30f1, 2019.4.8f1, 2020.2.0b2, 2021.1.0b1
Not reproducible with iMac 10.14, i5-4570R @ 2.7GHz, 64bit, 8 GB, Intel Iris Pro 1536 MB
Reproducible with MacMini 11.0, Apple M1, 8 GB
Workaround: go to Project's root folder > ProjetSettings > ProjectSettings.asset, find metalEditorSupport and set it to 1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
- [Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
- Particle System does not resume when its Culling Mode is set to "Pause" or "Pause and Catch-up," and particle position simulate in world space
- "Custom Render Queue" field cannot be set above "2000" when changing it in the Inspector window using Debug mode
Resolution Note (fix version 2020.2):
The issue seems to be fixed in 2020.2.0b2 and above
Resolution Note (fix version 2019.4):
Fixes an editor crash by always allowing the use of Metal API on Apple M1 macs, even if Metal Editor Support is disabled in the Player Settings. Fixed in 2019.4.24f1