Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Crash on RENDERDOC_EndProfileRegion when trying to load RenderDoc

Discussion in 'Unity 6 Beta' started by Hyp-X, Apr 9, 2024.

  1. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    438
    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)
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,702
  3. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    438
    I was on 1.31, but I just updated to 1.32.
    Still no joy.

    DX11:

    Code (CSharp):
    1. ========== OUTPUTTING STACK TRACE ==================
    2.  
    3. 0x00007FFCC1B355E9 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
    4. 0x00007FFCC1B28E79 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
    5. 0x00007FFBF0F1B061 (renderdoc) RENDERDOC_EndProfileRegion
    6.  
    DX12:

    Code (CSharp):
    1. ========== OUTPUTTING STACK TRACE ==================
    2.  
    3. 0x00007FFBF134AB03 (renderdoc) RENDERDOC_EndProfileRegion
    4.  
    Tested on 6000.0.0b13
     
  4. daves

    daves

    Unity Technologies

    Joined:
    Oct 18, 2018
    Posts:
    24
    @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?
     
  5. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    438
    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.
     
  6. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    438
    Still reproducible with 6000.0.0b15
     
  7. daves

    daves

    Unity Technologies

    Joined:
    Oct 18, 2018
    Posts:
    24
    Thanks! I've been able to download the project and will take a look. Please stay tuned.
     
    Hyp-X likes this.