Search Unity

XR World Space UI Camera 32:9

Discussion in 'AR/VR (XR) Discussion' started by unity_H_PvhvpS0nTZrw, May 27, 2020.

  1. unity_H_PvhvpS0nTZrw

    unity_H_PvhvpS0nTZrw

    Joined:
    Apr 9, 2020
    Posts:
    1
    I've been trying to make a UI that is on an in game screen. I place a second camera in front of the canvas and set the field of view to match the canvas (it's a weird aspect ratio 32:9). I can get the matched render texture and applied material on my surface to look fine...until...I hit play. The XR system seems to change the camera and the resulting UI image is distorted.

    When running the camera controls are locked to a specific value. I've tried some scripts that are geared for setting the camera aspect ratio at runtime with no luck.

    Suggestions welcomed :)