Hmd is many degrees off in Oculus Rift CV1

When a level starts the camera is facing into wrong directions. Only by selecting the camera once it will repair sometimes the issue for one time making the camera face the direction the camera mesh is. But after that touching another mesh or item within the editor or switch streaming level the camera view will lose it’s orientation again. The Follow HMD blueprint options do not help, not one! The camera as i directed them will never work in the Rift, and also not when playing in 2d on the monitor. A huge error and bug, or i missed something in the setup?

In an empty new project i have thesame problem.

So, how do i setup the HMD to follow the directed direction of the placed Camera Actor^& FPcharacter camera?

Hello ,

I have a couple of questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. I notice you said that you could reproduce this issue in clean project, could you provide a detailed list of steps to reproduce this issue on our end?
  2. Could you provide screen shots of any blueprints that may be involved with this issue?

Hello Rudy,

Well i have no solution what the reason is. But simple in the editor itself, when in an empty new project (FirstPerson example project with starter content)

1 turn the FirstPersonplayer character 45 degrees for example.

2 Then after that hit play in VR and the camera will still face the direction it was before i turned the FirstPersoncharacter.

Conclusion: The Oculus Rift CV1, the software will not follow the HMD rotation as directed.

Looks like something has changed in 4.11 for the camera setup for VR? Or is this a huge bug?

This is how i build camera’s with standard cameraactors. I connect them at level start in Blueprint.

I tried to solve this problem by connecting the EnablePLayerManagerFollowHmd, as you can see in the screenshot. But it did not work. Tried also other BP VR options…

89950-cameras.jpg

I still try to solve this camera issue.

I have this Hmd camera issue in every streaming level in my project (my project consists of streaming levels in one huge world, it is a movie experience.)

When i try a streaming level and start the scene, sometimes the camera starts in the good spot facing the area it should. But! After a millisecond it respawns facing 180 degrees or 140 or 60, i dont know. It seems UE4 resets the camera to one single direction every time, even if i direct the HMd in Blueprint!

For now, i did change in the project settings the Gamemode to Gamemode (it was on FirstPersonGamemode)… It looks for now this was the issue. I did some tsting, restarting streaming levels, touch different meshes and items in the world (this seemed to affect things)/… And so far the camera’s respond as they should. if this is indeed the solution, a week ago i was learning how to use linetrace for VR, and did change a lot of things because i could not figure that out. So it could be i switched the gamemode.

Rudy, could you explain if this makes sense? Is the game mode overriding everything ingame? And so if it is set to FirstpersonGamemode, will it have an effect on every camera that is enabled for the player even if they are setup trough BP? I try to understand what is going on.

See screenshot:

There were some changes in 4.11 on how setting the HMD is handled. I have provide some documentation below. Please let me know if this helps. If you still require further assistance please let me know.

Documentation: https://docs.unrealengine.com/latest/INT/Platforms/VR/VRCameraRefactor/

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Probably what the error gave was that my gamemode was set to “FirstPerson Character”. I did switch this to “gamemode”, which resolved the problem for me. I still don’t know what is causing this.

A friend of mine has thesame problem now, (working with dk2) but when he switches to “gamemode” as deffault it does not work for him.

Hello ,

I am happy to hear that your issue has been resolved. If your friend is having issues, please tell them to create a new thread for tracking purposes if they would like assistance. If your solution does not work for them, it could be that they are experiencing a different issue and that would require further investigation.

Make it a great day