Spatial Anchors not working in Unreal Engine Examples project

AlexisEspejel
Tue, 10 Sep 2024 18:30:59 +0000
Unreal Engine

Hi, I am trying to run the example for Spatial Anchors in Unreal Engine but it isn't working, I am following what I believe is the proper procedure in the example to add a spatial anchor or to try to query them but I'm not getting anything and no matter what I do I can't seem to get it to work in either the Examples project or in my own. I took a look at the error and warning logs and apparently it is looking for a few extensions that it says are not available but I don't know how to add them either.

Magic Leap SDK version: 1.9.0
Unreal Engine version: 5.4.3
ML2 OS version: 1.9.0

These are the Error and Warning messages from logs:

Warnings:
LogHMD: Warning: Required extension XR_ML_world_mesh_detection is not available
LogHMD: Warning: Required extension XR_EXT_future is not available
LogHMD: Warning: Required extension XR_ML_spatial_anchors is not available
LogHMD: Warning: Required extension XR_ML_spatial_anchors_storage is not available
LogHMD: Warning: Required extension XR_EXT_future is not available
LogHMD: Warning: Required extension XR_ML_pixel_sensor is not available
LogHMD: Warning: Required extension XR_EXT_future is not available
LogHMD: Warning: Required extension XR_ML_light_estimation is not available
LogHMD: Warning: Required extension XR_ML_world_mesh_detection is not available
LogHMD: Warning: Required extension XR_EXT_future is not available
LogHMD: Warning: Required extension XR_ML_spatial_anchors is not available
LogHMD: Warning: Required extension XR_ML_spatial_anchors_storage is not available
LogHMD: Warning: Required extension XR_EXT_future is not available
LogHMD: Warning: Required extension XR_ML_pixel_sensor is not available
LogHMD: Warning: Required extension XR_EXT_future is not available
LogHMD: Warning: Required extension XR_ML_light_estimation is not available
LogStreaming: Warning: Failed to read file '../../../Engine/Plugins/Developer/PlasticSourceControl/Resources/Icon128.png' error.

Errors:
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogMagicLeapSpatialAnchors: Error: EnsureStorage: SpatialAnchors plugin failed to initialize, check for earlier errors
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.
LogXRDeviceVisualizationComponent: Error: CreateRenderComponent returned a NULL UPrimitiveComponent*. Setting a NULL StaticMesh.

7 posts - 4 participants