Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.8.1

Issue ID

OXRB-194

Regression

No

Crash when entering Play Mode with Holographic Remoting for Play Mode enabled

Package: XR - OpenXR Plugin Bugs

-

How to reproduce:
1. Open the attached project "steven-mess-around.zip"
2. Enable Holographic Remoting for Play Mode (Mixed Reality>Remoting>Holographic Remoting for Play Mode)
3. Enter Play Mode
4. Exit Play Mode
5. Repeat step 3

Reproducible with: 1.8.0 (2021.3.27f1), 1.8.1 (2021.3.27f1, 2022.3.3f1, 2023.1.2f1)
Could not test with: 2023.2.0a21 (compilation errors in the Console window)

Reproducible on: Windows 10

First few lines of Stack Trace:
0x000001B06E03E650 (Mono JIT Code) (wrapper managed-to-native) object:wrapper_native_00007FFCA096A050 (intptr)
0x000001B07482F9CD (Mono JIT Code) WinRT.ObjectReference`1<Microsoft.MixedReality.QR.IQRCode/Vftbl>:Finalize ()
0x000001B06E083800 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFC6081F1E0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2849] mono_jit_runtime_invoke
0x00007FFC607A2AC2 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
0x00007FFC60804E56 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\gc.c:347] mono_gc_run_finalize

  1. Resolution Note:

    We believe the issue is with your project's code. FrontendWeb.cs is the source of trouble, as it generates an ObjectDisposedException after the first run, before the crashing run.

Comments (1)

  1. NikolayMXR

    Aug 01, 2024 13:45

    I have a similar problem with QR.IQRCode/Vftbl finalization is when exiting from the remoting app.

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

    0x000001BCF87D4697 (Mono JIT Code) (wrapper managed-to-native) object:wrapper_native_00007FFF4213A050 (intptr)
    0x000001BD364277D9 (Mono JIT Code) WinRT.ObjectReference`1<Microsoft.MixedReality.QR.IQRCode/Vftbl>:Finalize ()
    0x000001BCF86C53FC (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr)
    0x00007FFEA0E46A97 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\gc.c:383] mono_gc_run_finalize
    0x00007FFEA10CD8E8 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\external\bdwgc\finalize.c:1318] GC_invoke_finalizers
    0x00007FFEA0E47AE3 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\gc.c:929] finalize_domain_objects
    0x00007FFEA0E481A0 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\gc.c:1036] finalizer_thread
    0x00007FFEA0DDF55B (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\threads.c:1272] start_wrapper_internal
    0x00007FFEA0DDF76E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\threads.c:1348] start_wrapper
    0x00007FFF7D52257D (KERNEL32) BaseThreadInitThunk
    0x00007FFF7E12AF28 (ntdll) RtlUserThreadStart

    ========== END OF STACKTRACE ===========

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.