Page 1 of 1

Problem with Oculus Rift and First Person Game Plugin

Posted: Wed Jun 23, 2021 7:29 pm
by dignity
Hi everyone.
I'm currently having an issue with the Oculus Rift and CryEngine. It's basically the first time that I try to use the Rift with the engine so I don't have any experience with it.

I just tried to activate it with the default Firt Person Shooter C++ Plugin. So I just created an entirely new and fresh Project.
Then I went into the Code and just changed the Camera inside player.h to a VR Roomscale Camera. Inside the player.cpp I of course also changed the camera component to a roomscale camera. Builds without any error.

Next I checked the documentation for the VR setup and followed the steps there (updating drivers, allowing unknown sources inside the Oculus Launcher, adding the VR Plugin to the game project file, creating a system.cfg inside the project folder with sys_vr_support=1).

If I now jump into game mode, it just starts as normal without any VR.
Inside the Oculus Rift I can see that it wants to start the "Game Launcher" Application but it just says that it's loading no matter how long I wait.
I can now open the console while running the game mode and type in sys_vr_support=1. This just makes the camera jump to the bottom of the player entity. However now the camera reacts to the orientation of the Rift and rotates properly. It still doesn't render to the rift or anything.

Can anyone please help me out here.
Thanks and have an nice day.
- Jannis

Re: Problem with Oculus Rift and First Person Game Plugin

Posted: Sat Aug 28, 2021 5:49 pm
by ultimateweapon

This seems like it isn't in dual rendering mode. Go to the top right of the editor window. You'll see something that looks like a monitor. Click on it, go all the way down, and select output. Choose Dual Rendering. If that doesn't make sense, I made a tutorial for the community recently:

Good Luck!

Re: Problem with Oculus Rift and First Person Game Plugin

Posted: Wed Sep 01, 2021 5:19 am
by denvincents
Did you manage to fix it? I started having issues right after updating the drivers. Where can I find any files or articles (tutorials, guides) for CryEngine + Oculus Rift? I've a project and need to
do my assignment (Firt Person Shooter in Oculus Rift).