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

Graphics Device Backends

-

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

  1. Response avatar

    Resolution Note (fix version 2020.2):

    The issue seems to be fixed in 2020.2.0b2 and above

  2. Response avatar

    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

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.