Crash on RENDERDOC_EndProfileRegion when trying to load RenderDoc

Hi,

I know this issue is listed in known issues, but I’d like to highlight it.
It says “DirectX11: Crash on RENDERDOC_EndProfileRegion when trying to load RenderDoc on a POLYGON Fantasy Kingdom URP scene”

Well it happens in other projects too.
It happens with HDRP too.
It happens with both DX11 and DX12

This makes debugging rendering issues impossible since the built in Frame Debugger is almost useless.

I really hope this gets fixed by “release” (whatever that means)

Hey what version of RenderDoc are you on? We believe it should resolve itself on the latest version, see the resolution note here: Unity Issue Tracker - Crash on RENDERDOC_EndProfileRegion when trying to load RenderDoc on a POLYGON Fantasy Kingdom URP scene

I was on 1.31, but I just updated to 1.32.
Still no joy.

DX11:

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

0x00007FFCC1B355E9 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FFCC1B28E79 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FFBF0F1B061 (renderdoc) RENDERDOC_EndProfileRegion

DX12:

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

0x00007FFBF134AB03 (renderdoc) RENDERDOC_EndProfileRegion

Tested on 6000.0.0b13

@Hyp-X I worked on this issue, and wasn’t able to reproduce it on my system with a provided version of the Fantasy Kingdom project.

Any chanche you can give any more details about a potential HDRP project to repro the problem?

I’ve uploaded a project to Unity BlindFTP.
The file name is: KiteGames-20240412-RenderDocCrash.7z

The repro steps:

  • Open the project
  • Load the scene: Assets\Scenes\TerrainTest.unity
  • Double click on UnitStore in the Hierarchy view
  • You should see 3 tanks
  • Now right click on Scene and Load RenderDoc

It crashes right after the reload finishes, you don’t even have to make a capture.

Tested on 2 computers with different processors (AMD & Intel) different OS (Win 10 / 11), the only common element is that both computers have a variation of nVidia RTX 3060 (one mobile, one desktop)
Hopefully the issue is not hardware specific, but I can provide more details and/or more testing in case it proves to be hard to reproduce.

Still reproducible with 6000.0.0b15

Thanks! I’ve been able to download the project and will take a look. Please stay tuned.

1 Like