Search Issue Tracker

Fixed in 2020.1.X

Votes

0

Found in

2019.1.0a10

2019.1.11f1

2019.2.0a1

2019.3.0a1

Issue ID

1172167

Regression

No

Editor crashes at CreateDirect3D11SurfaceFromDXGISurface when GraphicsBuffer is Disposed

Graphics - General

-

Steps to reproduce:
1. Download 1172167_repro.zip
2. Open "SampleScene" scene
3. Enter play mode
4. Open Scene window
5. Select Camera

Actual results: Editor crashes.

Reproduced with: 2019.3.0a11, 2019.2.0f1, 2019.1.13f1, 2019.1.0a10

Note:
- Reproducible when using GraphicsBuffer.Release() or GraphicsBuffer.Dispose()
- In older unity version then 2019.1.0a10 GraphicsBuffer isn't supported

========== OUTPUTTING STACK TRACE ==================

0x00007FF97E28D899 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FF63E6E8FEF (Unity) GfxDeviceD3D11Base::DrawIndexedNullGeometry
0x00007FF63E778D90 (Unity) GfxDeviceWorker::RunCommand
0x00007FF63E77CB1B (Unity) GfxDeviceWorker::RunExt
0x00007FF63E77CEE5 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF63F3312A7 (Unity) Thread::RunThreadWrapper
0x00007FF985A97974 (KERNEL32) BaseThreadInitThunk
0x00007FF985C6A271 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

  1. Resolution Note (fix version 2020.1):

    2020.1.0a22

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.