unity-webxr-export
unity-webxr-export copied to clipboard
Spectator Camera is stretched
The projection matrix of the Spectator Camera is based on Unity's reported screen size, but on XR mode the screen size is based on the headset and not the canvas. Needs to get the canvas size and calculate the projection matrix based on it when switching to XR mode. Have it optional.