Search Issue Tracker
Fixed
Fixed in 2021.3.39f1, 2022.3.14f1
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.19f1
2023.2.0b16
Issue ID
UUM-55122
Regression
No
Crash on MTLGetEnvCase<MTLErrorModeType> when Render Texture with Invalid texture dimensions is created
Reproduction steps:
1. Open the attached “ReproCrash” project
2. Open the “Assets/_Project/Scenes/zTests/Tests.unity“ scene
3. Enter the Play Mode
Expected result: the Play Mode is entered
Actual result: Editor crashes
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.19f1, 2023.2.0b16
Not reproducible with: 2023.3.0a2, 2023.3.0a12
Reproducible on: macOS 13.6 (M1 Max), macOS 14.0 (Intel)
Not reproducible on: Windows 10
First few lines of the stack trace:
Thread 0x16f89b000 may have been prematurely finalized
#0 0x00000188220744 in __pthread_kill
Thread 0x16f89b000 may have been prematurely finalized
#1 0x1777800188165ae8 in abort
Thread 0x16f89b000 may have been prematurely finalized
#2 0x636f000188164e44 in err
Thread 0x16f89b000 may have been prematurely finalized
#3 0xcc730001917ea6c4 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 0x16f89b000 may have been prematurely finalized
#4 0x526c8001917c722c in MTLReportFailure
Thread 0x16f89b000 may have been prematurely finalized
#5 0xf5678001917bd52c in _MTLMessageContextEnd
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color Picker preview rectangle doesn’t update when adjusting colors for Specular color field for Terrain Layer
- Character Controller fall through the ground when touches 100 colliders
- Paragraph Spacing and the 'line-height' tag are not working when the Advanced Text Generator is enabled
- Non-standard error icon is used in Shader Graph
- GameObject drops to the last position in the Hierarchy when a RectTransform Component is added
Add comment