When I start the VR Preview with ‘Number of Players’ = 1 and ‘Net Mode’ = ‘Play as Client’, the screen will just jitter slightly when moving the HMD (Oculus Rift CV1) but the view does not move.
Everything is normal when starting with ‘Net Mode’ = 'Standalone ’ or ‘Play as Listen Server’.
Steps to reproduce:
- Create VR Template from Launcher (either VR or CollabViewer)
- Open Locomotion or Motion Controller
Map. - Start with above mentioned parameters.
I have found that the Camera Component of my pawn will not update its relative transformation because IsHeadTrackingAllowedForWorld() (IXRTrackingSystem.cpp) seems to return false when starting with ‘Play as Client’.
Before 4.26, IsHeadTrackingAllowed was used and was independent of the world.
Now it seems that the other NetModes do not have this issue so there must be something different with how the world is handled when starting the VR preview in Play as Client Mode.
This sounds like a bug to me, but maybe I am missing something.
Does anyone have a solution, am I missing some setting to make it work?
It works in the 4.25 Collab Viewer but not in the 4.26 Collab Viewer. I found a commit where the use of the IsHeadTrackingAllowed method was changed. Could this be the culprit?
Thanks and kind regards