Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

0

Found in

2018.4

2019.4

2020.3

2021.1

2021.2

2021.2.0a11

Issue ID

1324699

Regression

No

Crash on TiledTextureManager::CreateTexture when creating a large amount of assets in one batch

DirectX12

-

Reproduction steps:
1. Open the attached project ("ReproScene.zip")
2. Open scene "Crash"
3. Select "Crasher" GameObject in Hierarchy
4. Toggle "Create Crash Assets" in Inspector

Reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.3.2f1, 2021.1.1f1, 2021.2.0a11

First lines of the stacktraces:
0x00007FFFE0873571 (nvwgf2umx) NVAPI_Thunk
0x00007FFFE0A4D367 (nvwgf2umx) NVAPI_Thunk
0x00007FFFDFF7211C (nvwgf2umx) OpenAdapter12
0x00007FFFE00EE55F (nvwgf2umx) OpenAdapter12
0x00007FFFAEC33C3A (d3d12) D3D12PIXReportCounter
0x00007FF6EC31353F (Unity) TiledTextureManager::CreateTexture

0x00007FF7F74CF8BA (Unity) D3D12PageAllocatorBase::RequestPage
0x00007FF7F74E6CB5 (Unity) D3D12Page::Alloc
0x00007FF7F74CFC1E (Unity) D3D12CommandList::ReserveScratchMemory
0x00007FF7F74DB345 (Unity) TexturesD3D12::UploadTextureSubData2D

0x0000000142223CFA (Unity) D3D12DeviceState::ApplyRenderTargets
0x0000000142227F7D (Unity) D3D12DeviceState::Transition
0x000000014221ECCF (Unity) D3D12CommandListWithState::ApplyStateClear
0x00000001422414EA (Unity) GfxDeviceD3D12Base::Clear

Notes:
- Reproduces when using DX12, Vulkan
- Doesn't reproduce using DX11, OpenGLCore
- Crashes when the "Hold on..." pop-up window is "Re-serializing Assets..."
- Can either hard crash or silent crash

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2022.1.0a8

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b13
    FinishRendering now waits correctly

  3. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.23f1

  4. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.20f1

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.