Skip to main content
Up and Coming
April 16, 2016

Vertical black / black bar on right hand side of mirrored view (Unity 5.3.4p1)

I'm getting an issue where the mirrored view of my game is showing a big black vertical bar on the right hand side (see picture below) making the image seem mis-aligned.

After a bit more investigation the colour of the bar seems to be whatever colour the camera is set to clear to. In scenes where I've set it to e.g. yellow the bar is that colour.

Obviously this looks really ugly and broken - has anyone else encountered this issue? Anyone know the cause / fix  for it?

This is happening in Unity 5.3.4p1




    This topic has been closed for replies.

    2 replies

    Inspiring
    April 16, 2016
    This bar is rendered by Unity to save unnecessary rendering on pixels you can't see in the headset. In 5.4.0b13, the main-monitor preview is zoomed to hide it. In 5.3, you can get rid of it by using the Oculus Utilities' OVRCameraRig.from https://developer.oculus.com/downloads/game-engines/1.3.0/Oculus_Utilities_for_Unity_5/.
    JonDadleyAuthor
    Up and Coming
    April 16, 2016
    Thanks for the reply vrdaveb. I've not had much luck with the 5.4 beta (it's been quite unstable for me) and I wanted to avoid using the Oculus Utils camera rig as my game also works on desktop and I wanted to avoid having different camera setups. Thanks for the information anyway!
    My VR projects - Stage Presence and LMD VR Projects I've contributed to The Matrix VR and Star Citizen Follow me on Twitter @JonDadley