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
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
Add comment