Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.1.0b9

Issue ID

1009509

Regression

No

[Editor] [Metal] Crash with 'MTLResourceListAddResource' when opening the scene

Graphics - General

-

Reproduction steps:
1. Setup the project, choose one of two:
- Create an empty project and download this package - https://assetstore.unity.com/packages/3d/environments/urban/hq-abandoned-school-modular-106665
- Download the project attached below (OC link).
2, Make sure Editor is using Metal.
3. Open the 'DemoScene'.
- Crash.

0 libsystem_kernel.dylib 0x00007fff5776ce3e __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff576c9312 abort + 127
2 Metal 0x00007fff342e343e MTLResourceListAddResource + 490
3 AMDMTLBronzeDriver 0x000000011b918dfb _Z28amdMtlBronzeCmdBufUpdateRsrcP19BronzeCmdBufInfoRecP18MTLIOAccelResourcejj + 103
4 AMDMTLBronzeDriver 0x000000011b91b89b _ZL21amdMtlBronzeSetBufferP32BronzeRenderCmdEncoderMembersRecjPU19objcproto9MTLBuffer11objc_objectyjj + 73
5 Unity 0x00000001007b221d _ZN18GfxDeviceMetalBase16DrawBufferRangesEN5metal20PipeKeyPrepareResultEP9GfxBufferiPK18VertexStreamSourceiPK16DrawBuffersRangeiP17VertexDeclarationmb + 701
6 Unity 0x00000001007b75d9 _ZThn11176_N18GfxDeviceMetalBase24DrawBufferRangesPlatformEP9GfxBufferiPK18VertexStreamSourceiPK16DrawBuffersRangeiP17VertexDeclarationmb + 313
7 Unity 0x0000000100a7a293 _ZN26SinglePassStereoSupportExt17DrawBuffersStereoEP9GfxBufferiPK18VertexStreamSourceiPK16DrawBuffersRangeiP17VertexDeclarationm + 259
8 Unity 0x00000001007b1f29 _ZN18GfxDeviceMetalBase11DrawBuffersEP9GfxBufferiPK18VertexStreamSourceiPK16DrawBuffersRangeiP17VertexDeclaration + 217
9 Unity 0x0000000102947607 _ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer + 40535
10 Unity 0x00000001007bba9c GfxDeviceWorkerAutoreleasePoolProxy + 60
11 Unity 0x000000010294a6c0 _ZN15GfxDeviceWorker6RunExtER20ThreadedStreamBuffer + 64
12 Unity 0x000000010293d6e5 _ZN15GfxDeviceWorker18RunGfxDeviceWorkerEPv + 117
13 Unity 0x0000000100f245ac _ZN6Thread16RunThreadWrapperEPv + 60
14 libsystem_pthread.dylib 0x00007fff578a86c1 _pthread_body + 340
15 libsystem_pthread.dylib 0x00007fff578a856d _pthread_body + 0
16 libsystem_pthread.dylib 0x00007fff578a7c5d thread_start + 13

Reproduced with:
- macOS Metal Editor
- 2017.2.2p1, 2017.3.2f1, 2018.1.0b11, 2018.2.0b11

Not reproducible with:
- macOS OpenGL Editor
- Windows DirectX Editor
- macOS Metal Standalone Player

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.