Skip to main content
June 30, 2014

Oculus OVRPlayerController skewed Right Camera

Hey Everyone,

I've tried the Unity forums, but should have known to come here first. I'm having the following issue and not sure how to fix it:

I've used the OVRPlayerController prefab in other projects but for some reason, while trying to setup the rift for a new scene the OVR prefab seems to be behaving oddly. My viewport looks like a correct left camera, but my right seems to be wide. I've verified my settings on the viewport rect with my other working scene and everything seems to match:

Left (X=0, Y=0, W=0.5, H=1) Right (X=0.5, Y=0, W=0.5, H=1)

Yet, the eyeports don't align properly. Has anyone experienced this issue?

I've noticed that it appears the right camera viewport rect is being set at runtime, possibly each frame. At runtime the right camera X viewport rect value moves from 0.5 to 0, even though when not running, its set to 0.5. If I pause the scene, I can manually change it back to 0.5 and it appears to fix the issue, but while running it overwrites back to 0. I'm not sure why this is.

Here's an image showing what is going on: http://answers.unity3d.com/storage/temp/28378-oculusview.png
    This topic has been closed for replies.

    1 reply

    Inspiring
    July 2, 2014
    Can you upload a simple example project the shows the issue?

    We haven't seen this one before and are having trouble reproducing. Thanks.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV