cancel
Showing results for 
Search instead for 
Did you mean: 

Recenter / Quit from the Universal menu

Rouslan
Honored Guest
I followed the guide:

https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-focus/

But the associated flags in the sessions structure are always false, even when clicking on the corresponding buttons in the universal menu.

    ovrSessionStatus status;
    ovr_GetSessionStatus(m_ovrSession, &status);

    if (status.ShouldRecenter) // always false
    {
        ovr_RecenterTrackingOrigin(m_ovrSession);
    }

Due to the above I failed the app submission.

.HmdMounted and .IsVisible work fine.

Please advise. Thanks.
6 REPLIES 6

Rouslan
Honored Guest
1.15. Before I posted here, I updated to the latest version, in case this was fixed. 

I can provide a copy. Do you want source or binary? Alternatively, you could provide me with a sample app source that works. 

Thanks. 

Rouslan
Honored Guest
No, the app is written from scratch and calls the Oculus SDK directly.

Rouslan
Honored Guest
The project is fairly large and it might be tricky to compile. Probably better to provide a binary build + the source file that is specific to Oculus handling?

mfmf
Oculus Staff
Does OculusRoomTiny (from the SDK downloads) work for you? You can check out the main.cpp there, though it looks basically the same as what you're doing. 

Rouslan
Honored Guest
Thank you, mfmf. I can confirm that OculusRoomTiny (DX11) does not recenter too. Could you try it on your side?

Rouslan
Honored Guest
Hmm, so you click on recenter at the universal menu and when you go back to the app, you are facing down the room?