Search Issue Tracker
Duplicate
Votes
0
Found in
2020.3.24f1
2021.2
2021.2.2f1
2022.1
Issue ID
1380521
Regression
Yes
Crash on UnityGfxDeviceWorker when running a Player Build
Reproduction steps:
1. Open the attached 'Bug Test' project
2. Open the 'TestScene'
3. Go to the 'File Settings -> Build and Run'
4. Observe a crash
Reproducible with: 2020.3.24f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Not reproducible with: 2019.4.34f1, 2020.3.23f1, 2022.2.0a1
Note: reproducible only on macOS
First lines of the stacktrace of the crashed thread:
Thread 57 Crashed:: UnityGfxDeviceWorker
0 libsystem_kernel.dylib 0x00007fff2034b92e __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff2037a5bd pthread_kill + 263
2 libsystem_c.dylib 0x00007fff202cf4a0 __abort + 139
3 libsystem_c.dylib 0x00007fff202cf415 abort + 140
4 libsystem_c.dylib 0x00007fff202ce7d8 __assert_rtn + 314
5 com.apple.Metal 0x00007fff283beec4 MTLReportFailure.cold.1 + 43
6 com.apple.Metal 0x00007fff283ad45a MTLReportFailure + 538
7 com.apple.Metal 0x00007fff2831df9f -[_MTLCommandEncoder dealloc] + 123
8 com.apple.AMDRadeonX6000MTLDriver 0x00000001235d22b0 -[GFX10_MtlRenderCmdEncoder dealloc] + 164
Application-Specific Information:
-[_MTLCommandEncoder dealloc]:131: failed assertion `Command encoder released without endEncoding'
-
Resolution Note (2022.2.X):
Fixed in 2022.2.0a1
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1379210