Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2020.3

2021.1.25f1

2021.2

2022.1

Issue ID

1375846

Regression

No

Crash in UnityGfxDeviceWorker when using a RenderTextureSensor

Metal

-

Reproduction steps:
1. Open the user's attached project
2. Open the 'AgentTrainingScene_1' Scene
3. Hit Play
4. Observe a crash

Reproducible with: 2020.3.21f1, 2021.2.6f1, 2022.1.0a15
Could not test with 2019.4.32f1 (due to multiple compile errors)

Part of a Stack Trace of the crashed thread:
5 com.apple.Metal 0x00007fff28575ec4 MTLReportFailure.cold.1 + 43
6 com.apple.Metal 0x00007fff2856445a MTLReportFailure + 538
7 com.apple.Metal 0x00007fff2855e200 _MTLMessageContextEnd + 1001
8 com.apple.Metal 0x00007fff284c70dd -[MTLTextureDescriptorInternal validateWithDevice:] + 2792
9 com.apple.AMDRadeonX6000MTLDriver 0x0000000144f6436c -[GFXAAMD_MtlTexture initInternalWithDevice:descriptor:] + 59
10 com.unity3d.UnityEditor5.x 0x0000000108c59367 ReadPixelsToImage(ColorRenderSurfaceMetal*, int, int, int, int, GfxDeviceMetalBase&) + 327
11 com.unity3d.UnityEditor5.x 0x0000000108c58785 GfxDeviceMetal::ReadbackImage(ImageReference&, int, int, int, int, int, int) + 373
12 com.unity3d.UnityEditor5.x 0x0000000108b20938 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 5384
13 com.unity3d.UnityEditor5.x 0x0000000108c2954c GfxDeviceWorkerAutoreleasePoolProxy + 60

Notes:
- Not reproducible on Windows
- Reproducible on macOS

Add comment

Log in to post comment