cancel
Showing results for 
Search instead for 
Did you mean: 

GetAppShouldRecenter2 won't work in PCVR

Quest3FunUpVr3
Honored Guest

Hello!

I'm noticing a seemingly incorrect behaviour in my application, where a VRNotificationsComponent::HMDRecenteredDelegate is not being called when in PCVR and making a pinch hand gesture that performs recenter. I'm running UE5.5.4 (previously 5.5.2) version and UnrealMetaXRPlugin v72. The reason it's never getting called is that in FOculusXRHMD::OnStartGameFrame the GetAppShouldRecenter2 call never successfully reads the value. It always returns Success result while the output parameter (telling if recenter event is incoming) is always false, therefore the FCoreDelegates::VRHeadsetRecenter delegate is never broadcast.

The implication of this is that the aplication cannot get to know whether recenter has been called. It's also not possible to call RecenterTrackingOrigin2(ovrpRecenterFlag_IgnoreAll) to clear the ShouldRecenter flag, leave all axes unchanged and perform custom recenter logic.

With the combination of not being able to disable the recenter system gesture it's a deal breaker in scenarios  where the default behaviour of recenter is undesired and breaks the experience.

There is also another problem mentioned in few other posts here on forums - recenter gesture for some reason triggeres not only on the pinch gesture, but also on sole looking at the palms, which makes the issue even more severe.

Has this issue been recognized by the OVRPlugin development team? Will it be fixed in a forseeable future? 
Working around it seems not trivial and possibly faulty, since it would require to detect sudden changes in HMD orientation and fixing it up in a hacky way.

Best regards, Krzysztof

0 REPLIES 0