Search Issue Tracker

Fixed in 2020.1.X

Votes

4

Found in

2020.1

2020.1.0b2

2020.2

Issue ID

1229243

Regression

No

[XR][URP] "Can't calculate the eye texture aspect ratio" errors spammed in the Console when resizing the Game Window while in VR

XR SDK

-

Repro steps:
1. Open attached project
2. Enter Play Mode with a VR headset connected to the machine
3. Try resizing the Game Window
4. Observe the Console

Actual: "Can't calculate the eye texture aspect ratio. Culling/Shadows are likely to break.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)" spammed in the Console

Reproducible with: 2020.1.0b4, 2020.2.0a5

Comments (2)

  1. EricHFrazer

    Jul 27, 2020 05:26

    I'm getting this bug too, when I call SetStereoViewMatrix.

  2. Mauro1965

    Apr 28, 2020 06:38

    I have a similar error:
    Can't calculate the eye texture aspect ratio. Culling/Shadows are likely to break.
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    Unity 2019.3.7f1 , URP 7.1.8 and XR 3.0.6

    This error appears even in a empty scene with only a camera with a Tracked Pose Driver in VR stereo mode.

    No way to avoid it.
    No

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.