Skip to main content
Up and Coming
September 27, 2016

Unity - Default VR Camera not moving

In Unity 5.4 the default camera converts into a stereoscopic camera when Virtual Reality is supported.

According to the last paragraph on this Unity manual:  https://docs.unity3d.com/Manual/VRDevices-Oculus.html)

The Oculus package (scripts, plugins, prefabs) is not necessary. And the OVR Camera Rig has to be replaced with a regular camera.

We did this and it works, but in our case we have a scaled up scene for which we used to have a scaled up OVR Camera Rig, and additionally, we slightly moved the camera around the scene via script. But now the camera is not moving. On the Unity editor it moves but when running the VR build it does not.

So our questions are:  Does Oculus recommend this Unity default camera support, or shall we install the package and use the OVR Camera Rig instead. In the first case, how should we fix the camera movement problem? It seems that the tracking system is fixed to the regular scale space. 

Please help
Andres
    This topic has been closed for replies.

    2 replies

    baknoAuthor
    Up and Coming
    September 27, 2016
    Fixed. Just need to place the camera inside a parent object and move that object.
    Inspiring
    September 27, 2016
    I'm moving this to the Unity section of the Developer forum. You can switch forums with the drop down menu on the top right. To answer your question, the standard Unity camera becomes completely controlled by the head-tracking once you enable VR. If you wish to reposition the camera you'll need to make it a child of another object, as you have found. 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