Search Issue Tracker
Fixed
Fixed in 2020.3.39f1
Votes
0
Found in
2020.3.27f1
2021.2.0a11
Issue ID
UUM-2996
Regression
No
[M1][Mobile][Rosetta] Crash with MTLGetEnvCase when building for iOS/Android
Reproduction steps:
1. Open the user's attached project
2. Build the project for iOS
Expected result: Build is completed
Actual result: Editor crashes when building
Reproducible with: 2020.3.27f1, 2021.2.0a11
Not reproducible with: 2021.2.0a12, 2021.2.10f1, 2022.1.0b6, 2022.2.0a3
Could not test with: 2019.4.35f1 (compiler errors when opening the project
Notes:
Not reproducible with desktop builds
Not reproducible with native Silicon Editor
Also reproducible with the same stack trace in some of the versions when switching from iOS to Android as target and vice versa
Also reproducible with the same stack trace in some of the versions when opening the project
Stack trace:
Obtained 19 stack frames.
Thread 0x314b0e000 may have been prematurely finalized
#0 0x007ff802866292 in __pthread_kill
Thread 0x314b0e000 may have been prematurely finalized
#1 0x007ff8027e8d10 in abort
Thread 0x314b0e000 may have been prematurely finalized
#2 0x007ff8027e80be in err
Thread 0x314b0e000 may have been prematurely finalized
#3 0x007ff80b6cb752 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 0x314b0e000 may have been prematurely finalized
#4 0x007ff80b6b60c7 in MTLReportFailure
Thread 0x314b0e000 may have been prematurely finalized
#5 0x007ff80b6ae83e in _MTLMessageContextEnd
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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (fix version 2020.3.39f1):
Fixed in: 2020.3.39f1