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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
This is a duplicate of issue #1379210