Reproduction steps:
1. Open the attached “ReproProject” project
2. Open the “SCENE” scene
3. Enter the Play Mode
Expected result: The Play Mode is entered
Actual result: The Editor crashes
Reproducible with: 2021.3.32f1, 2022.3.14f1
Could not test with: 2023.2.1f1, 2023.3.0a15 (error CS0619: 'TextureImporterFormat.AutomaticTruecolor' is obsolete: 'Enum member TextureImporterFormat.AutomaticTruecolor is obsolete. Use the TextureImporter.textureCompression property instead.')
Reproducible on: macOS 13.6
Not reproducible on: Windows 10
First few lines of the stack trace:
Thread 0x17f97f000 may have been prematurely finalized
#0 0x0000018a89911c in __pthread_kill
Thread 0x17f97f000 may have been prematurely finalized
#1 0x15300018a7e0a40 in abort
Thread 0x17f97f000 may have been prematurely finalized
#2 0x686300018a7dfd30 in err
Thread 0x17f97f000 may have been prematurely finalized
#3 0x7419000194b693fc in bool MTLGetEnvCase<MTLErrorModeType>(char const*, MTLErrorModeType&, std::_1::vector<std::1::pair<char const*, MTLErrorModeType>, std::1::allocator<std::_1::pair<char const*, MTLErrorModeType>>> const&) (.cold.1)
Thread 0x17f97f000 may have been prematurely finalized
#4 0x2a48800194b46380 in MTLReportFailure