Search Issue Tracker

Duplicate

Votes

0

Found in

2019.1.0a11

Issue ID

1106834

Regression

Yes

Crash when swapping graphics APIs

Graphics - General

-

Repro steps:
1. download this project
2. Open the CatsSushiScene
3. Notice the console error: ```GLSL compilation failed:ERROR: 0:26: 'switch' : reserved word ERROR: 0:26: 'switch' : syntax error syntax error```
4. Go to Ptoject settings and switch to DX12 api.
5. Notice Console error: "d3d12: CreateGraphicsPipelineState failed."
6. Switch to DX11, and notice that the Editor crashes.

Crash stack:

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

0x00007FF615A71873 (Unity) VertexDeclarationD3D11::GetInputLayout
0x00007FF615A5ED3E (Unity) GfxDeviceD3D11Base::BindBuffersForDraw
0x00007FF615A62FAE (Unity) GfxDeviceD3D11Base::DrawBuffers
0x00007FF615B02E5E (Unity) GfxDeviceWorker::RunCommand
0x00007FF615B0623B (Unity) GfxDeviceWorker::RunExt
0x00007FF615B06605 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF6167BC924 (Unity) Thread::RunThreadWrapper
0x00007FFFAA543034 (KERNEL32) BaseThreadInitThunk
0x00007FFFAB351471 (ntdll) RtlUserThreadStart

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

Cannot reproduce in 2018.3.0f1 or 2019.1.a10
Reproducibl ein 2019.1.0a11

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.