Thanks for the log and report. I managed to reproduce the issue reliably now. We are working to fix this in a future version of Snapdragon Spaces.
You can change the sample controller and before calling XRPassthroughUtility.GetPassthroughEnabled() check if the feature is available. You can refer to the sample code in the Main Menu Sample Controller on how to check.
if (!OpenXRSettings.Instance.GetFeature<BaseRuntimeFeature>().IsPassthroughSupported())
{
return;
}
Rlarbwls113
Hello
We are currently using version 0.23 in our project
However, if you upgrade the version to 0.23 or higher and enter the hand-tracking scene, there will be an editor crash
No problem with build, editor crash only when entering hand tracking scene from editor
XROrigin not found, cannot add the ARRaycastManager automatically. Cannot ray cast against AR environment trackables.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object,UnityEngine.Object)
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
UnityEngine.XR.Interaction.Toolkit.XRRayInteractor:FindCreateARRaycastManager () (at Library/PackageCache/com.unity.xr.interaction.toolkit@2.5.1/Runtime/Interaction/Interactors/XRRayInteractor.cs:2580)
UnityEngine.XR.Interaction.Toolkit.XRRayInteractor:Awake () (at Library/PackageCache/com.unity.xr.interaction.toolkit@2.5.1/Runtime/Interaction/Interactors/XRRayInteractor.cs:930)
(Filename: Library/PackageCache/com.unity.xr.interaction.toolkit@2.5.1/Runtime/Interaction/Interactors/XRRayInteractor.cs Line: 2580)
Loaded scene 'Temp/__Backupscenes/0.backup'
Deserialize: 23.732 ms
Integration: 193.163 ms
Integration of assets: 0.011 ms
Thread Wait Time: -0.001 ms
Total Operation Time: 216.904 ms
[Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
[Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Input
[Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
=================================================================
Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at UnityEngine.XR.OpenXR.Features.OpenXRFeature:Internal_GetEnvironmentBlendMode <0x000cd>
at UnityEngine.XR.OpenXR.Features.OpenXRFeature:GetEnvironmentBlendMode <0x0006a>
at Qualcomm.Snapdragon.Spaces.BaseRuntimeFeature:GetPassthroughEnabled <0x00082>
at QCHT.Interactions.Core.XRPassthroughUtility:GetPassthroughEnabled <0x0017a>
at QCHT.Samples.Menu.PassthroughActivator:Start <0x000aa>
at System.Object:runtime_invoke_void__this__ <0x00187>
=================================================================
Received signal SIGSEGV
Obtained 28 stack frames
0x000001a75659fe7e (Mono JIT Code) (wrapper managed-to-native) UnityEngine.XR.OpenXR.Features.OpenXRFeature:Internal_GetEnvironmentBlendMode ()
0x000001a75659defb (Mono JIT Code) [OpenXRFeature.cs:322] UnityEngine.XR.OpenXR.Features.OpenXRFeature:GetEnvironmentBlendMode ()
0x000001a75659dca3 (Mono JIT Code) [BaseRuntimeFeature.InterceptEnvironmentBlendMode.cs:45] Qualcomm.Snapdragon.Spaces.BaseRuntimeFeature:GetPassthroughEnabled ()
0x000001a75659cdfb (Mono JIT Code) [XRPassthroughUtility.cs:71] QCHT.Interactions.Core.XRPassthroughUtility:GetPassthroughEnabled ()
0x000001a75659cb7b (Mono JIT Code) [PassthroughActivator.cs:37] QCHT.Samples.Menu.PassthroughActivator:Start ()
0x000001a756b63118 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffeeb4365ee (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffeeb36cd74 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffeeb36ceec (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff69769fe14 (Unity) scripting_method_invoke
0x00007ff69767f754 (Unity) ScriptingInvocation::Invoke
0x00007ff69766f1ee (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked
0x00007ff69766f2f6 (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked
0x00007ff697669822 (Unity) MonoBehaviour::DelayedStartCall
0x00007ff697156a24 (Unity) DelayedCallManager::Update
0x00007ff69736bb99 (Unity) `InitPlayerLoopCallbacks'::`2'::EarlyUpdateScriptRunDelayedStartupFrameRegistrator::Forward
0x00007ff6973521fa (Unity) ExecutePlayerLoop
0x00007ff697352386 (Unity) ExecutePlayerLoop
0x00007ff697358a39 (Unity) PlayerLoop
0x00007ff6982d2a19 (Unity) PlayerLoopController::UpdateScene
0x00007ff6982bde00 (Unity) PlayerLoopController::EnterPlayMode
0x00007ff6982cdc27 (Unity) PlayerLoopController::SetIsPlaying
0x00007ff6982d0efb (Unity) Application::TickTimer
0x00007ff69870e4ca (Unity) MainMessageLoop
0x00007ff698712d5b (Unity) WinMain
0x00007ff699af2c9e (Unity) __scrt_common_main_seh
0x00007fff8c837344 (KERNEL32) BaseThreadInitThunk
0x00007fff8d4826b1 (ntdll) RtlUserThreadStart
"com.qualcomm.qcht.unity.interactions": "file:com.qualcomm.qcht.unity.interactions-4.1.7.tgz",
"com.qualcomm.snapdragon.spaces": "file:com.qualcomm.snapdragon.spaces-0.23.0.tgz",
Thanks for the log and report. I managed to reproduce the issue reliably now. We are working to fix this in a future version of Snapdragon Spaces.
You can change the sample controller and before calling XRPassthroughUtility.GetPassthroughEnabled() check if the feature is available. You can refer to the sample code in the Main Menu Sample Controller on how to check.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstBlousefrankfurter
I followed your recommendations to repair the issue.
-
Does Snapdragon Spaces support Unity?
-
Unity Project Template Recommendation
-
Supported Unity Version
-
Bug: recurring Unity deployment error after the first deployment (manifest error, probably)
-
cannot download the Unity SDK
-
FATAL EXCEPTION No virtual method getDeviceProductInfo
-
Image target to 6DOF Tracking
-
Cant download Snapdragon Spaces Services
-
Can't create runtime tracked image libraries
-
What is the best way to upgrade an existing Spaces Unity project to a newer version of the SDK?
See all 169 topics