Skip to main content
New Participant
August 24, 2023

GetGuardianPoints not working for Boundary_Outer

The issue with MetaXR plugin for Unreal Engine 5.2
I have the same problems with plugin's version 55.0 and 56.0. The function GetGuardianPoints() returning always empty array for BoundaryType == Boundary_Outer. 
I've debuged plugin and it turned out that 
OculusXRFunctionLibrary.cpp:622
if (OVRP_SUCCESS(FOculusXRHMDModule::GetPluginWrapper().GetBoundaryGeometry3(obt, nullptr, &NumPoints)))
always returns false.
 
Is there any way how I can get these guardian points?
 
Best regards
Andrei
This topic has been closed for replies.

2 replies

New Participant
April 25, 2024

I'd like to second this request. As it stands I am unable to get any details about the Guardian boundary -the array always has a length of 0 for me.

Inspiring
April 28, 2024

you can try to use "Get guardian points" in UE Blueprint. It works and give a rectangle with 4 points along the Guardian boundary. It can used as 4 anchors in Mixed reality.