Is there a way to mirror exactly what the VR user sees on a monitor? Default aspect ratio is wrong.

Using a Vive, the image within VR shows more vertical space than the mirrored “deviceView” shown on the monitor, so on the monitor the top and bottom are cut off. We need to see exactly what the VR user sees, is there a setting to enable this?

Funnily enough, I had a similar yet opposite problem - not rendering exactly what’s being displayed in the headset, as I alluded to in my thread Any way to get VRSettings.showDeviceView to render into a Render Texture? - Unity Engine - Unity Discussions

Basically if you capture the RenderTexture source in OnRenderImage, you’ll see the exact images being sent to the headset, so you should be able to use that.

e.g. something like this:

  public class VRCamera : MonoBehaviour
   {
     private Camera _camera;
     private int _frameCount;

     public RenderTexture MirrorTexture { get; private set; }

     void Awake()
     {
       _camera = GetComponent<Camera>();
       MirrorTexture = new RenderTexture(_camera.pixelWidth, _camera.pixelHeight, 0);
     }

     private void OnRenderImage(RenderTexture source, RenderTexture destination)
     {
       Graphics.Blit(source, destination);

       ++_frameCount;

       if (_frameCount % 2 == 0)
         Graphics.Blit(source, MirrorTexture);
     }
   }

It’s frustrating that there aren’t more options/flexibility to showDeviceView, though.

Also consider Multi-displays option.

What sucks about that is it kills the framerate, which is really really bad for VR.