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
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
Resolution Note (fix version 2020.3.39f1):
Fixed in: 2020.3.39f1