- Home /
Camera for Monitor is stretched when using VR
Hello,
I noticed a problem when trying to show different content on a monitor than what is on the Oculus VR. Whatever is displayed on the monitor gets stretched widely but what is displayed on the VR remains proper. I tried disabling the OVR prefab but it would still stretch as long as the "Virtual Reality Supported" check box is checked. If I uncheck it, it will still stretch if the OVR prefab is active. Trying to delay the activation will result in the OVR camera not rendering to the VR headset.
Is there any solution for this?
The following code is what I used to stop the mirroring to the monitor:
IEnumerator Start ()
{
yield return new WaitForEndOfFrame ();
UnityEngine.VR.VRSettings.showDeviceView = false;
}
Also, I am using Unity 5.3.1p3 (tried earlier versions with the same result) and Oculus SDK 0.8 with a DK2.
Answer by MahmoodAlSarhani · Jan 24, 2016 at 03:56 PM
Turns out it was bug and a fix should be sent in the next update.