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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment