Start a new topic

Unity Snapdragon Spaces Sample not working

I follow the tutorial to run Snapdragon Spaces applications on my Motorola edge+ and ThinkReality A3 glass.When I open the unity samples  I can see the controller, but after a while, the application crashed. And I can't see anything on my AR glasses. I have tried reinstalling the application(tried 0.12.1 and 0.11.1) and restarting my phone, but it still not work.


 here is the logcat:

04-06 16:11:01.609   319   423 I Unity   : MemoryManager: Using 'Dynamic Heap' Allocator.
04-06 16:11:01.629   319   423 I Unity   : SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 7258mb
04-06 16:11:01.629   319   423 I Unity   : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
04-06 16:11:01.629   319   423 I Unity   : ApplicationInfo com.Qualcomm.SnapdragonSpacesSamples version 0.12.1
04-06 16:11:01.629   319   423 I Unity   : Built from '2021.3/staging' branch, Version '2021.3.16f1 (4016570cf34f)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
04-06 16:11:01.714   319   423 I Unity   : Company Name: Qualcomm
04-06 16:11:01.714   319   423 I Unity   : Product Name: Snapdragon Spaces Samples
04-06 16:11:01.722   319   423 D Unity   :  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_b
04-06 16:11:01.722   319   423 D Unity   : order_clamp GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_E
04-06 16:11:01.722   319   423 D Unity   : XT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_texture_foveated2 GL_QCOM_texture_foveated_subsampled_layout GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather GL_QCOM_shading_rate GL_QCOM_frame_extrapolation GL_IMG_texture_filter_cubic GL_QCOM_render_shared_exponent
04-06 16:11:01.870   319   423 I Unity   : XRGeneral Settings awakening...
04-06 16:11:01.870   319   423 I Unity   : UnityEngine.XR.Management.XRGeneralSettings:Awake()
04-06 16:11:01.870   319   423 I Unity   :
04-06 16:11:01.993   319   423 I Unity   : [XR] [475451604144] [16:11:01.992][Info   ] Available Layers: (6)
04-06 16:11:05.315   319   423 I Unity   : [XR] [475451604144] [16:11:05.315][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE session=-5476376664158180512 time=0
04-06 16:11:05.316   319   423 I Unity   : [XR] [475451604144] [16:11:05.316][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY session=-5476376664158180512 time=0
04-06 16:11:05.416   319   473 I Unity   : [XR] [471167773872] [16:11:05.416][Error  ] xrCreateSwapchain: XR_ERROR_VALIDATION_FAILURE
04-06 16:11:05.416   319   473 I Unity   : [XR] [471167773872] [16:11:05.416][Warning] Failed to create swapchain - trying without texture arrays.
04-06 16:11:05.417   319   473 I Unity   : [XR] [471167773872] [16:11:05.417][Error  ] xrCreateSwapchain: XR_ERROR_VALIDATION_FAILURE
04-06 16:11:05.419   319   473 I Unity   : [XR] [471167773872] [16:11:05.419][Error  ] Failed to create swapchain, exiting session.
04-06 16:11:05.420   319   423 I Unity   : [XR] [475451604144] [16:11:05.420][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED session=-5476376664158180512 time=0
04-06 16:11:05.420   319   423 I Unity   : [XR] [475451604144] [16:11:05.420][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING session=-5476376664158180512 time=0
04-06 16:11:05.421   319   423 I Unity   : [XR] [475451604144] [16:11:05.421][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE session=-5476376664158180512 time=0
04-06 16:11:05.421   319   423 I Unity   : [XR] [475451604144] [16:11:05.421][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING session=-5476376664158180512 time=0
04-06 16:11:05.426   319   423 I Unity   : [XR] [475451604144] [16:11:05.426][Error  ] xrRequestExitSession: XR_ERROR_SESSION_NOT_RUNNING
04-06 16:11:05.428   319   423 W Unity   : [XR] Could not remove provider Spaces-MeshSubsystem
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]
04-06 16:11:05.429   319   423 I Unity   :
04-06 16:11:05.429   319   423 I Unity   : ==== Start Unity OpenXR Diagnostic Report ====
04-06 16:11:05.429   319   423 I Unity   :
04-06 16:11:05.429   319   423 I Unity   :
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] ==== Report Reason: System Shutdown ====
04-06 16:11:05.429   319   423 I Unity   :
04-06 16:11:05.429   319   423 I Unity   :
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] ==== OpenXR Provider Info ====
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] Spec Version: 1.0.25
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] Provider Version: 1.6.0
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] App: Snapdragon Spaces Samples #555404476
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] Engine: 2021.3.16f1 #36766721
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] ==== OpenXR Runtime Info ====
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ] Features requested to be enabled: (10)
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Base Runtime: Version=0.12.1, Company="Qualcomm", Extensions="XR_QCOM_component_versioning"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Camera Access (Experimental): Version=0.12.1, Company="Qualcomm", Extensions="XR_QCOMX_camera_frame_access"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Hand Tracking: Version=0.11.0, Company="Qualcomm"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Hit Testing: Version=0.12.1, Company="Qualcomm", Extensions="XR_QCOM_ray_casting"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Image Tracking: Version=0.12.1, Company="Qualcomm", Extensions="XR_QCOM_image_tracking"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Microsoft Mixed Reality Motion Controller Profile: Version=0.12.1, Company="Qualcomm"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Oculus Touch Controller Profile: Version=0.0.1, Company="Unity"
04-06 16:11:05.429   319   423 I Unity   : [XR] [475451604144] [16:11:05.429][Info   ]   Plane Detection: Version=0.12.1, Company="Qualcomm", Extensions="XR_QCOM_plane_detection XR_MSFT_scene_understanding"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   Spatial Anchors: Version=0.12.1, Company="Qualcomm", Extensions="XR_MSFT_spatial_anchor XR_MSFT_spatial_anchor_persistence"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   Spatial Meshing (Experimental): Version=0.12.1, Company="Qualcomm", Extensions="XR_MSFT_scene_understanding"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Requested feature extensions not supported by runtime: (0)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Extensions: (54)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_image_tracking: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_object_tracking: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_plane_detection: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_ray_casting: Version=2
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_tracking_optimization_settings: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_component_versioning: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOMX_camera_frame_access: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_spatial_anchor: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_spatial_anchor_persistence: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_scene_understanding: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_hand_tracking: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_hand_tracking_mesh: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_hand_tracking_gesture: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_android_create_instance: Version=3
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_binding_modification: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_composition_layer_cylinder: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_composition_layer_depth: Version=6
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_composition_layer_equirect: Version=3
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_composition_layer_equirect2: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_convert_timespec_time: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_loader_init: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_loader_init_android: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_opengl_es_enable: Version=8
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_swapchain_usage_input_attachment_bit: Version=3
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_vulkan_enable: Version=8
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_vulkan_enable2: Version=2
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_dpad_binding: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_hp_mixed_reality_controller: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_samsung_odyssey_controller: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_performance_settings: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_FB_foveation: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_FB_foveation_configuration: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_FB_foveation_vulkan: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_FB_swapchain_update_state: Version=3
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_ML_ml2_controller_interaction: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MND_headless: Version=2
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MND_swapchain_usage_input_attachment_bit: Version=2
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXTX_overlay: Version=5
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MNDX_force_feedback_curl: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_unbounded_reference_space: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_KHR_android_thread_settings: Version=5
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_UNITY_android_present: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_debug_utils: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_image_tracking: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_object_tracking: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_plane_detection: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_ray_casting: Version=2
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_tracking_optimization_settings: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_component_versioning: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOMX_camera_frame_access: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_spatial_anchor: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_spatial_anchor_persistence: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_scene_understanding: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_ray_casting: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Layers: (6)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_APILAYER_QCOM_backwards_compatibility: SpecVersion=1.0.0, LayerVersion=1, Description="OpenXR backwards compatibility API Layer"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_APILAYER_QCOM_retina_tracking: SpecVersion=1.0.0, LayerVersion=1, Description="OpenXR retina tracking extension API Layer"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_APILAYER_anchor: SpecVersion=1.0.0, LayerVersion=1, Description="OpenXR spatial anchor extension API Layer"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_APILAYER_QTI_scene_understanding: SpecVersion=1.0.0, LayerVersion=1, Description="Qualcomm OpenXR Scene Understanding"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_APILAYER_QCOM_handtracking: SpecVersion=1.0.0, LayerVersion=1, Description="Qualcomm OpenXR hand tracking extension API Layer"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_APILAYER_thermal: SpecVersion=1.0.0, LayerVersion=1, Description="OpenXR thermal extension API Layer"
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Layer Extensions: LayerName="XR_APILAYER_QCOM_backwards_compatibility": (0)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Layer Extensions: LayerName="XR_APILAYER_QCOM_retina_tracking": (7)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_image_tracking: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_object_tracking: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_plane_detection: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_ray_casting: Version=2
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_tracking_optimization_settings: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_component_versioning: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOMX_camera_frame_access: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Layer Extensions: LayerName="XR_APILAYER_anchor": (2)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_spatial_anchor: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_spatial_anchor_persistence: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Layer Extensions: LayerName="XR_APILAYER_QTI_scene_understanding": (2)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_scene_understanding: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_ray_casting: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Layer Extensions: LayerName="XR_APILAYER_QCOM_handtracking": (3)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_hand_tracking: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_MSFT_hand_tracking_mesh: Version=4
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_QCOM_hand_tracking_gesture: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Available Runtime Layer Extensions: LayerName="XR_APILAYER_thermal": (1)
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]   XR_EXT_thermal_query: Version=1
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ]
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Runtime Name: Snapdragon OpenXR 'v16.0.1-spaces-230327' based on Monado(XRT) by Collabora
04-06 16:11:05.430   319   423 I Unity   : [XR] [475451604144] [16:11:05.430][Info   ] Runtime Version: 16.0.1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Form factor: XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Runtime extensions enabled: (10)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_KHR_android_create_instance: Version=3
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_KHR_opengl_es_enable: Version=8
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_MSFT_scene_understanding: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_MSFT_spatial_anchor: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_MSFT_spatial_anchor_persistence: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_QCOMX_camera_frame_access: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_QCOM_component_versioning: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_QCOM_image_tracking: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_QCOM_plane_detection: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_QCOM_ray_casting: Version=1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Available Reference Spaces: (3)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_REFERENCE_SPACE_TYPE_VIEW
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_REFERENCE_SPACE_TYPE_LOCAL
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_REFERENCE_SPACE_TYPE_STAGE
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Instance Id  : 0xa4a0ee10
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] System Id    : 0x1
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Session Id   : 0x649ceb60
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Available View Configuration Types: (1)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO (Selected): FovMutable=False
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]     [0]: Recommended: Width=0, Height=0, SampleCount=0
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]     [0]:     Maximum: Width=0, Height=0, SampleCount=0
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]     [1]: Recommended: Width=0, Height=0, SampleCount=0
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]     [1]:     Maximum: Width=0, Height=0, SampleCount=0
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Skip Present To Main Screen: Yes
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Available Environment Blend Modes: (1)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   XR_ENVIRONMENT_BLEND_MODE_OPAQUE (Selected)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] System Properties: Name="Monado: ", VendorId=42
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] System Graphics Properties: MaxWidth=16384, MaxHeight=16384, MaxLayers=16
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] System Tracking Properties: OrientationTracking=True, PositionTracking=True
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] ==== OpenXR Init Info ====
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Stage 2 Missing Entry Points: (12)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVisibilityMaskKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVulkanInstanceExtensionsKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVulkanDeviceExtensionsKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVulkanGraphicsDeviceKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVulkanGraphicsRequirementsKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrCreateVulkanInstanceKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrCreateVulkanDeviceKHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVulkanGraphicsDevice2KHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrGetVulkanGraphicsRequirements2KHR
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrCreateFoveationProfileFB
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrDestroyFoveationProfileFB
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   xrUpdateSwapchainFB
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] ==== OpenXR Input ====
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Action Sets (2):
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   microsoftmotioncontroller: ActionCount=13
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]   oculustouchcontroller: ActionCount=17
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] ==== OpenXR Swapchain Details ====
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Render Mode: Single Pass Instanced
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Depth Submission Mode: None
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Swapchain Formats:  32856 [c:35907] 33189 35056 36012
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] ==== OpenXR Exception Thrown ====
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] Error: XrResult failure [XR_ERROR_VALIDATION_FAILURE]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]     Origin: xrCreateSwapchain(session, &swapchainCreateInfo, &swapchain.handle)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]     Source: C:/build/output/unity/xr.sdk.openxr/NativePlugin/Source/unity_swapchain.cpp:157
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] ==== Last 20 non-XR_SUCCESS returns ====
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] [FAILURE] xrCreateSwapchain: XR_ERROR_VALIDATION_FAILURE (2x)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] [FAILURE] xrRequestExitSession: XR_ERROR_SESSION_NOT_RUNNING (1x)
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] ==== Last 20 Events ====
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING
04-06 16:11:05.431   319   423 I Unity   : [XR] [475451604144] [16:11:05.431][Info   ]
04-06 16:11:05.431   319   423 I Unity   :
04-06 16:11:05.431   319   423 I Unity   : ==== End Unity OpenXR Diagnostic Report ====
04-06 16:11:05.431   319   423 I Unity   :
04-06 16:11:05.431   319   423 I Unity   :
04-06 16:11:05.495   319   423 W Unity   : No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:GetActiveSubsystemInstance()
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:EnsureSubsystemInstanceSet()
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.ARSession:OnEnable()
04-06 16:11:05.495   319   423 W Unity   :
04-06 16:11:05.495   319   423 W Unity   : No active UnityEngine.XR.ARSubsystems.XRCameraSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:GetActiveSubsystemInstance()
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:EnsureSubsystemInstanceSet()
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:OnEnable()
04-06 16:11:05.495   319   423 W Unity   :
04-06 16:11:05.495   319   423 W Unity   : No active UnityEngine.XR.XRInputSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.ARInputManager:GetActiveSubsystemInstance()
04-06 16:11:05.495   319   423 W Unity   : UnityEngine.XR.ARFoundation.ARInputManager:OnEnable()
04-06 16:11:05.495   319   423 W Unity   :

Thank you!


Hey,


Your log indicates that OpenXR did not start up alright which caused a crash within Unity's OpenXR plugin. 


Please make sure you have the Snapdragon Spaces Services installed and that the version of the services matches the version of the plugin you're using in your Unity project. If you haven't yet they come bundled together with the SDK download. 


You should also check the firmware of your device to ensure it is up to date. Here are the latest versions:

  • Motorola Edge: S3SHS32.12-41-4-4
  • A3: A3_user_S1040001_2208180059_sdm710_postcs8
  • UDC: 22.09.0.43


In the past we had issues with developers upgrading Snapdragon Spaces Services from 0.10.x to 0.11.1. To avoid issues here we recommend the following update process for now:

  1. Uninstall Snapdragon Spaces Services and the Samples app
  2. Power off the device (do not restart but shut down completely)
  3. Power it back on again
  4. Reinstall services then the samples app
  5. Grant permissions to both (display over other apps and camera for the services, and camera for the samples)

I'm sure my devices is up to date. I have reinstalled this software according to your instructions, but it did not work... And there is an error:

04-10 15:13:21.462 28017 18113 E XrCompositor::ProcessEvent: XrCompositor is not initialized
04-10 15:13:21.462 28017 18113 E XrCompositor::ProcessEvent: XrCompositor is not initialized
04-10 15:13:21.462 28017 18113 E XrCompositor::ProcessEvent: XrCompositor is not initialized
04-10 15:13:21.462 28017 18113 I XrCompositor::ProcessEvent: Start
04-10 15:13:21.462 28017 18113 I XrCompositor::ProcessEvent: Start
04-10 15:13:21.462 28017 18113 I XrCompositor::ProcessEvent: Start
04-10 15:13:21.462 28017 18113 E XrCompositor::ProcessEvent: XrCompositor is not initialized
04-10 15:13:21.462 28017 18113 E XrCompositor::ProcessEvent: XrCompositor is not initialized

 

Do you get this error with the pre-built samples or an apk that you built yourself? 

We are having an issue with plug-off behaviour with the A3 glasses that is causing some runtime instability. If you would not get the log the first time after restarting, it would indicate that the glasses were removed before gracefully shutting down your application. Do you get this log every time? 


Not every time.When I restart my phone and connect to the AR device, then open the Unity Snapdragon Spaces Samples app installed from Snapdragon Spaces SDK for Unity, this error rdid not occur. But the app crashed and the AR glasses turned black. When I try to  Force Stop  the Unity Snapdragon Spaces Samples and open it again, this error occurs.


By the way, I have tried building the sample.When I open this application, I also get "XrCompositor is not initialized".

I think you are experiencing the instability issue when unplugging the glasses or not gracefully shutting down the samples application.

For now we recommend:

- Gracefully shut down your application by calling Application.Quit in Unity or QuitGame in Unreal

- For the samples you should be able to gracefully quit by holding down the menu button a couple of seconds

- Use adb wireless instead of a cable  Android Debug Bridge (adb)  |  Android Studio  |  Android Developers to avoid unplugging your glasses

- Restart your phone if you accidentally closed your application with another method than beforementioned. 

(- I have seen a force stop of your respective application and the Spaces Services working as well, though shutdown is recommended for now) 


Please take these into consideration and see if there is some improvement with stability. 



Login or Signup to post a comment