Search Issue Tracker
Fixed
Fixed in 1.4.0-preview.4
Votes
0
Found in [Package]
1.4.0-preview.2
Issue ID
XRMOCKB-23
Regression
No
Crash on Unity.XR.MockHMD.MockHMD:SetFoveationMode when entering Play Mode after loading RenderDoc
How to reproduce:
1. Open the attached project "LM-Graphics.zip"
2. Right mouse click on the Game view tab
3. Click "Load RenderDoc"
4. Enter Play Mode
Reproducible with: 1.2.0-preview.1, 1.3.0-preview.1, 1.4.0-preview.2 (6000.0.41f1, 6000.1.0b9, 6000.2.0a6)
Could not test with: 2022.3.59f1 (compilation errors in the Console window)
Reproducible on: Windows 11 23H2
Not reproducible on: No other environment tested
First few lines of stack trace:
0x00007FFD8B12D4CB (UnityMockHMD) NativeConfig_SetFoveationMode
0x000002070A0AF911 (Mono JIT Code) (wrapper managed-to-native) Unity.XR.MockHMD.MockHMD:SetFoveationMode (bool,uint)
0x000002070A0BE9DB (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.mock-hmd@bf4cb37c5d7a\Runtime\MockHMDLoader.cs:32] Unity.XR.MockHMD.MockHMDLoader:Initialize ()
0x000002070A0BE467 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.management@3126858600e6\Runtime\XRManagerSettings.cs:190] UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync ()
0x000002070A0BE343 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.management@3126858600e6\Runtime\XRGeneralSettings.cs:176] UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK ()
0x000002070A0BE1E3 (Mono JIT Code) [.\Library\PackageCache\com.unity.xr.management@3126858600e6\Runtime\XRGeneralSettings.cs:149] UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad ()
0x000002070A0AEC75 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FFD4C4D68DE (mono-2.0-bdwgc) mono_jit_set_domain
0x00007FFD4C418404 (mono-2.0-bdwgc) mono_object_get_virtual_method
0x00007FFD4C4184F0 (mono-2.0-bdwgc) mono_runtime_invoke
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 1.4.0-preview.4):
Added initialization check to MockHMD's SetFoveationMode