Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
JonDadley's avatar
JonDadley
Honored Guest
10 years ago

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




2 Replies

Replies have been turned off for this discussion
  • 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/.
  • 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!