Unity Issue Tracker - Editor throws errors and crashes on exit when RenderDoc is loaded to DX12 project
Fixed
UUM-16084
Editor throws errors and crashes on exit when RenderDoc is loaded to DX12 project
Unity: DirectX12
Fixed
2023.1.X
2023.1.0a2 onwards
Fixed re-initialization of sampler cache when device is recreated
Reproduction steps:
Install RenderDoc
Open the attached project (“RenderDocbug.zip“)
Go to Game View
Press More Items(three vertical dot button)>Load RenderDoc
Observe errors in the Console Window
Close Editor
Expected Result: RenderDoc is loaded successfully
Actual Result: UI breaks, errors are being thrown to Console Window (d3d12: invalid sampler descriptor), crashes when trying to exit Editor