Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

0

Found in

2018.1.0a4

Issue ID

967444

Regression

Yes

C#-created Mesh for SkinnedMeshRenderer on DX12 causes crash

Graphics - General

-

Switched my graphics API to DX12, pressed Play, and got an editor crash :(

Repro steps:
1. Download + open attached project
2. Open scene.unity
3. Press Play

Notes:
The crash seems to require a skinned mesh with its mesh being instanced/modified/set from script. Check out SubstituteMesh.cs to see what's going on that might be causing it.
Not reproducible in 2017.2.0f3.

========== OUTPUTING STACK TRACE ==================

0x000000014293BE00 (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\d3d12\bufferd3d12.h:184] BufferD3D12::CreateBufferResource
0x0000000142966D31 (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\d3d12\bufferd3d12.h:196] BufferD3D12::InitializeResource
0x0000000142967AEC (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\d3d12\bufferd3d12.h:39] BufferD3D12::BufferD3D12
0x0000000142967D9F (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\d3d12\gfxdeviced3d12.cpp:1197] GfxDeviceD3D12::CreateBuffer
0x0000000142996115 (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\threaded\gfxdeviceworker.cpp:1673] GfxDeviceWorker::RunCommand
0x00000001429995CB (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\threaded\gfxdeviceworker.cpp:349] GfxDeviceWorker::RunExt
0x000000014296F1D9 (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\threaded\gfxdeviceworker.cpp:340] GfxDeviceWorker::Run
0x0000000142978A49 (Unity) [c:\buildslave\unity\build\runtime\gfxdevice\threaded\gfxdeviceworker.cpp:315] GfxDeviceWorker::RunGfxDeviceWorker
0x0000000140D40E88 (Unity) [c:\buildslave\unity\build\runtime\threads\thread.cpp:39] Thread::RunThreadWrapper
0x00007FFC6D381FE4 (KERNEL32) BaseThreadInitThunk
0x00007FFC6FB4EF91 (ntdll) RtlUserThreadStart

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

License type: Pro

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.