Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

2018.2.0a1

2018.2.0b3

Issue ID

1034766

Regression

Yes

Editor crashes on switching graphics API from DirectX 12 to other APIs when memory is reallocating

Deployment Management

-

Editor crashes on switching graphics API from DirectX 12 to other APIs when memory is reallocating

Steps to repro:
1. Open attached project
2. Edit > Project Settings
3. Player Settings > Other Settings
4. Disable auto Windows graphics API
5. Add DirectX 12 Graphics API to list and move it to top
6. Switch to any other graphics API

Note:
1. On using a new project with all the assets from the given project doesn't cause the crash.
2. After removing the project cache files, the crash doesn't occur
3. It doesn't happen in an empty project

Working with:
2018.1.0f2

Occurring with:
2018.3.0a1, 2018.2.0b3, 2018.2.0b1, 2018.2.0a1

Environment:
Windows only

Stack Trace:
Stack Trace of Crashed Thread 23164:
0x0000000142178523 (Unity) D3D12DescriptorCache::Deallocate
0x000000014219D217 (Unity) BufferD3D12::CleanUpResource
0x0000000142199C58 (Unity) BufferD3D12::`vector deleting destructor'
0x00000001421982F2 (Unity) GfxDeviceD3D12::~GfxDeviceD3D12
0x0000000142199D54 (Unity) GfxDeviceD3D12::`vector deleting destructor'
0x0000000140B6C44C (Unity) DestroyRealGfxDevice
0x00000001421C0951 (Unity) GfxDeviceWorker::`vector deleting destructor'
0x00000001421C06F0 (Unity) GfxDeviceClient::~GfxDeviceClient
0x00000001421C08A4 (Unity) GfxDeviceClient::`vector deleting destructor'
0x0000000140B6B187 (Unity) CleanupAllGfxDeviceResources
0x0000000140B6FE29 (Unity) RecreateGfxDevice
0x000000014142B7B2 (Unity) Application::TickTimer
0x00000001415CA465 (Unity) MainMessageLoop
0x00000001415CC7E8 (Unity) WinMain
0x00000001423F8CFA (Unity) __scrt_common_main_seh
0x00007FFA7FEA1FE4 (KERNEL32) BaseThreadInitThunk
0x00007FFA82A0F061 (ntdll) RtlUserThreadStart

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.