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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a8
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b13
FinishRendering now waits correctly
Resolution Note (fix version 2021.1):
Fixed in 2021.1.23f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.20f1