Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Bug Screen position out of view frustum

Discussion in 'AR/VR (XR) Discussion' started by FlightOfOne, May 26, 2020.

  1. FlightOfOne


    Aug 1, 2014
    Screen position out of view frustum (screen pos 1852.000000, 0.000000, 1000.000000) (Camera rect 0 0 1852 2056)
    UnityEngine.GUIUtility processEvent(Int32, IntPtr)

    I keep getting this message every time I play. It does not stop the game play, I can continue thorugh but keeps popping up every time. Only happens in VR. Tried on a clean project too and still happened.

    I am using XR management with OpenVR XR plugin.

  2. FlightOfOne


    Aug 1, 2014
    I think I figured it out. If I disable the camera, press play and then after the game loads I enable the camera, this error does not show up. I am not sure if this is a bug or not but it looks like you have to wait a few frames for other things to initialize?
  3. andyz


    Jan 5, 2010
    This is a long running bug, I get it in the editor at the moment with latest 2019 LTS.
    Can Unity just fix? It happens in Unity camera cpp code for me so not like we can avoid. It may be because of extreme camera clip planes or something but in which case their code should check and exit, not throw an error from internal code
    My editor log:
    Code (CSharp):
    1. [C:\buildslave\unity\build\Runtime/Camera/Camera.cpp line 3488]
    2. (Filename: Assets/Plugins/PlanarRealtimeReflection.cs Line: 123)
    3. Screen position out of view frustum (screen pos 0.000000, 0.000000, 2149.964355) (Camera rect 0 0 1024 1024)
    4. UnityEngine.Camera:Render()
    5. PlanarRealtimeReflection:OnWillRenderObject() (at Assets\Plugins\PlanarRealtimeReflection.cs:123)
    6. UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected(RenderTexture, Int32, Vector2&, Boolean, Boolean)
    7. UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal(RenderTexture, Int32, Vector2, Boolean, Boolean)
    8. UnityEditor.PlayModeView:RenderView(Vector2, Boolean)
    9. UnityEditor.GameView:OnGUI()
    moonlightgames2021 likes this.