Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2019.1.0a13

Issue ID

1111769

Regression

Yes

[Vulkan] Crash on changing Windows Graphics API to OpenGLCore.

Graphics - General

-

Crash on changing Graphics API from D2D11 => D3D12 => Vulkan => OpenGLCore.

Steps to repro:
1. Create a new Project.
2. File > Build Settings > Player Settings.
3. Other Settings > Uncheck "Auto-Graphics API for Window" checkbox.
4. Add Direct3D12 > move to the top of the list > Apply.
5. Add Vulkan > move to the top of the list > Apply.
6. Add OpenGLCore > move to the top of the list > Apply.

Actual Result:
Editor Crashes.

Expected Result:
Graphics APIs for Windows is set to OpenGLCore.

Crash stack:

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

0x00007FF605C60306 (Unity) vk::`anonymous namespace'::Assign
0x00007FF605C6E190 (Unity) vk::MakeRenderPassDescription
0x00007FF605C6DCAE (Unity) vk::MakeCompatibilityRenderPassDescription
0x00007FF605C963AE (Unity) vk::DeviceState::SetRenderPassSetup
0x00007FF605C72919 (Unity) GfxDeviceVKBase::SetRenderTargetsImpl
0x00007FF605C453FF (Unity) GfxDeviceWorker::RunCommand
0x00007FF605C4D4BB (Unity) GfxDeviceWorker::RunExt
0x00007FF605C4D885 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF6067E7287 (Unity) Thread::RunThreadWrapper
0x00007FFF0B773034 (KERNEL32) BaseThreadInitThunk
0x00007FFF0DC13691 (ntdll) RtlUserThreadStart

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

Note: Crash occurs only once in a project.

Reproducible in:
2019.1.0a13.

Working Fine in:
2019.1.a12, 2018.3.0f2 (49866f0a5d12).

Environment:
Occurs only on Windows.

Comments (1)

  1. Uttkarsh_Ghostlab

    Feb 12, 2023 22:14

    I'm running into a similar issue on 2021.3. Any idea why this happens?

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.