Discovered anchors are placed at (0,0,0)
Hi there, I'm trying to use MetaXR anchors for my current project. I previously used Unreal 5.1 with PCVR and I could create, save and reload anchors. I am now trying to do the same in an Unreal 5.4 standalone project. My problem is that when I save the anchor, and I reload it with its UUID, it spawns at (0,0,0). Using the logcat from Android Studio, I found out that there were two errors, one pretty seamingless : SP:AF:AnchorFramework: getAnchorUuid can't find anchor for handle 4 And the second one, which I think is the real problem : [XRCMD][failure] [XR_ERROR_SPACE_COMPONENT_NOT_ENABLED_FB]: xrLocateSpace(*(XrSpace*)space, baseSpace, ToXrTime(GetTimeInSeconds()), &spaceLocation), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:13440 (arvr\\projects\\integrations\\OVRPlugin\\Src\Util/CompositorOpenXR.h:317 My blueprint is ugly right now, but here is how I discover and save anchors :Solved1.2KViews1like2CommentsIssues running the Unreal Engine 5.3 Spatial Anchors sample on Meta Quest 3 - AndroidFileClient
I am trying to build the Spatial Anchors sample project on Unreal Engine 5.3 (Oculus-VR Source) but receiving an error message related to the AndroidFileClient. The Passthrough and Scene samples have built to my Meta Quest 3 without failure so I'm assuming it has something to do with the Spatial Anchors project needing to save anchors to the headset file system. I am very new to Unreal so I apologize if this is a stupid question and I'm missing something obvious. I've been through the Meta documentation on this sample and have searched the web and can't find anything related or anyone else that has encountered this issue. I did not try this sample project on any previous versions of Unreal so I'm unsure if this is an issue with the new Oculus-VR build of UE5.3. Any help would be greatly appreciated! This is the relevant section of the output log when trying to build: Running: C:\Users\Aleistor\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 2G0YC1ZF850S41 install -r "C:\Unreal Engine 5\UnrealEngine\Samples\Oculus\SpatialAnchorsSample 5.3\Binaries/Android\SpatialAnchorsSample-arm64.apk" LogPlayLevel: UAT: Performing Streamed Install LogPlayLevel: UAT: Success LogPlayLevel: UAT: Took 5.02s to run adb.exe, ExitCode=0 LogPlayLevel: UAT: Attempting to connect to file server [USB] LogPlayLevel: UAT: Not connected, attempting to start file server LogPlayLevel: UAT: Connected to RemoteFileManager LogPlayLevel: UAT: Creating UECommandLine.txt LogPlayLevel: UAT: Deploying files using AFS LogPlayLevel: UAT: 0> Unexpected Exception: System.Net.Sockets.SocketException (10053π An established connection was aborted by the software in your host machine. LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Flush() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 915 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.FileWrite(String SourcePath, String DestPath, Int32 bLog) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 2018 LogPlayLevel: UAT: SocketException: System.Net.Sockets.SocketException (10053π An established connection was aborted by the software in your host machine. LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Flush() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 915 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Append(Byte[] packet, Int32 writeSize) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 945 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.SocketSend(Boolean bPayload, Byte[] packet) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 963 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.CloseConnection() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 1777 LogPlayLevel: UAT: 0> Unexpected Exception: System.Net.Sockets.SocketException (10053π An established connection was aborted by the software in your host machine. LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Flush() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 915 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Append(Byte[] packet, Int32 writeSize) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 945 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.SocketSend(Boolean bPayload, Byte[] packet) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 963 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.FileWrite(String SourcePath, String DestPath, Int32 bLog) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 19922.1KViews0likes2CommentsUnreal Spacial Anchor Sample not working as expected
Hello, I am trying to get the unreal spacial anchor sample to work (https://github.com/oculus-samples/Unreal-SpatialAnchorsSample). But there happens to be a strange bug, which always sets my created marker on the position 0,0,0 in the level right after I created one and not on the position where it should appear. (see Image below) Everything else seems to work fine, I can save and load the markers, but they always appear at the same position. I already checked if the position gets set correctly, when spawning the spatial model, which is the case but after the Blueprint Node "Oculus XR Async Create Spatial Anchor" (which succeeds) the position reset happens and I also cant set it back again. Has anyone any Idea why this happens? Does this only happen to me? I am using Unreal Engine 5.3.2 and have the Meta XR Plugin v60 installed. I am also getting the following errors in the console: LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrLocateSpace(*(XrSpace*)space, baseSpace, ToXrTime(GetTimeInSeconds()), &spaceLocation), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:11833 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302) LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrLocateSpace(*(XrSpace*)space, baseSpace, ToXrTime(GetTimeInSeconds()), &spaceLocation), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:11833 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302) Thanks in advance for your help1.5KViews0likes4CommentsUnreal Spacial Anchor Sample not working as expected
Hello, I am trying to get the unreal spacial anchor sample to work (https://github.com/oculus-samples/Unreal-SpatialAnchorsSample). But there happens to be a strange bug, which always sets my created marker on the position 0,0,0 in the level right after I created one and not on the position where it should appear. (see Image below) Everything else seems to work fine, I can save and load the markers, but they always appear at the same position. I already checked if the position gets set correctly, when spawning the spatial model, which is the case but after the Blueprint Node "Oculus XR Async Create Spatial Anchor" (which succeeds) the position reset happens and I also cant set it back again. Has anyone any Idea why this happens? Does this only happen to me? I am using Unreal Engine 5.3.2 and have the Meta XR Plugin v60 installed. I am also not getting following errors in the console: I am also getting the following errors in the console: LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrLocateSpace(*(XrSpace*)space, baseSpace, ToXrTime(GetTimeInSeconds()), &spaceLocation), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:11833 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302) LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_HANDLE_INVALID]: xrLocateSpace(*(XrSpace*)space, baseSpace, ToXrTime(GetTimeInSeconds()), &spaceLocation), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:11833 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:302) Thanks in advance for your help625Views0likes0CommentsSpatial Anchor cloud saves and sharing on Meta Quest 1
Hello! I'm implementing a feature with Unreal Engin that uses Spatial Anchors. I'm saving them in the Cloud using the OculusAsyncSaveAnchors function which works perfectly fine on Quest 2, but on Quest 1 I am always getting an Error there with code -1000 which does not give any information. So I wanted to ask if saving Spatial Anchors in the cloud is even available on the Quest 1 and if so is sharing Anchors available as well? (In the Documentation it's often stated as new Quest 2 features so I wasn't sure and the local saves also work fine) Would be great if you could help me clarify this.Solved1.6KViews0likes4Comments