As mentioned in the title of the thread, I’ve been encountering this issue for years now where Unity Editor keep crashing if I try to do a renderdoc capture in Game View while Mock HMD is enabled (Single Pass Instanced).
Currently I’m using Unity Editor 2021.2.0b4.3123 with URP. I know renderdoc capture used to work fine with Mock HMD before in the much older Unity version, I’m just wondering if there’s any workaround for this in later version 2020+ (without having to build an executable and capture renderdoc from there)?
To Replicate the issue:
- Enabling Mock HMD Loader and “Initialize XR on Startup” in (Project Settings/XR Plug-in Management)
- Right click on Game Tab → Load RenderDoc
- Enter playmode, making sure Mock HMD is showing 2 VR views
- Clicking renderdoc icon for gpu capture, Crash!