Camera below the floor on level load (on Oculus Rift)

Maryushi3
Mon, 18 Dec 2017 17:27:59 +0000
XR Development

Hi everyone!

The problem

When I run a game in VR and load another map the camera gets stuck way below the floor, even though the pawn’s location is the same. It looks fine on the first map that starts when preview starts, but gets messed up after opening a level.

This issue happens only when using Oculus Rift (I am using CV1) and UE 4.18. Everything looks fine in Vive on 4.18 and in both headsets on 4.16 and 4.17. What is more annoying is that in the problematic case loading a level takes so long that packaged build just gives up after 30 seconds.

What I have tried

To see whether this is fault of maps I am using or VR pawn I have been developing I tried to import pawn blueprints straight from the VR template to a project with only these maps and I have also built two basically empty maps (one has slightly rotated floor just to be different).

Result

When using Rift (on 4.18), the camera gets stuck below the floor after loading a level once and stays that way for subsequent loads until restarting the preview. Navmesh shows up properly and pawn actor’s location also is no different from when the camera is on the right height. Teleportation marker is shown also on the proper level. It is just the camera that is too low (180 units if I recall correctly).

When it works fine

On 4.16 and 4.17 in both Vive and Rift and on 4.18 in Vive.

Finishg words

From what I’ve seen, lots of people seem to complain about 4.18 and its VR support, so it seems like I am not alone, however due to work circumstances I am not able to rollback to 4.17, so I would love to get some support on fixing the issue here, on 4.18.

18 posts - 7 participants