Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Question Unity OpenXR splash screen freeze

Discussion in 'VR' started by BetterLife_R, May 27, 2023.

  1. BetterLife_R

    BetterLife_R

    Joined:
    Nov 16, 2021
    Posts:
    17
    1. I keep getting this in my crash log for my VR game running the openXR platform for windows builds. This crash causes the game to freeze at the splash screen and prevents the game from loading

      ```[XR] SetOutput Failed.[XR] [15772] [10:53:19.910][Error ] xrGetSystem: XR_ERROR_FORM_FACTOR_UNAVAILABLE

      [XR] [15772] [10:53:19.910][Info ] ==== Report Reason: Uncaught Exception ====

      [XR] [15772] [10:53:19.910][Info ] ==== OpenXR Init Info ====
      [XR] [15772] [10:53:19.910][Info ]
      [XR] [15772] [10:53:19.910][Info ] Stage 1 Missing Entry Points: (1)
      [XR] [15772] [10:53:19.910][Info ] xrInitializeLoaderKHR
    2. ==== OpenXR Exception Thrown ====
      [XR] [15772] [10:53:19.911][Info ]
      [XR] [15772] [10:53:19.911][Info ] Error: XrResult failure [XR_ERROR_FORM_FACTOR_UNAVAILABLE]
      [XR] [15772] [10:53:19.911][Info ] Origin: result
      [XR] [15772] [10:53:19.911][Info ] Source: C:\build\output\unity\xr.sdk.openxr\NativePlugin\Source\unity_session.cpp:260
      [XR] [15772] [10:53:19.911][Info ]
      [XR] [15772] [10:53:19.911][Info ] ==== Std Exception Thrown ====
      [XR] [15772] [10:53:19.911][Info ]
      [XR] [15772] [10:53:19.911][Info ] Function: PreInit_Display_Setup::<lambda_4fbc124a0a834a46f47ad9f63094300a>:: operator ()
      [XR] [15772] [10:53:19.911][Info ] Message: XrResult failure [XR_ERROR_FORM_FACTOR_UNAVAILABLE]
      [XR] [15772] [10:53:19.911][Info ] Origin: result
      [XR] [15772] [10:53:19.911][Info ] Source: C:\build\output\unity\xr.sdk.openxr\NativePlugin\Source\unity_session.cpp:260
      [XR] [15772] [10:53:19.911][Info ]
      [XR] [15772] [10:53:19.911][Info ] ==== Last 20 non-XR_SUCCESS returns ====
      [XR] [15772] [10:53:19.911][Info ] [FAILURE] xrGetSystem: XR_ERROR_FORM_FACTOR_UNAVAILABLE (1x)```
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,219
    Which unity version? Openxr version?
     
  3. BetterLife_R

    BetterLife_R

    Joined:
    Nov 16, 2021
    Posts:
    17
    I was using unity 2021 LTS with the latest OpenXR package. I uninstalled unity and tried reinstalling again from scratch since I was also encountering some other problems but now I can't even install any unity editor from the hub because the download keeps getting stuck at 99%. I'm also pretty sure that the reason OpenXR wasn't working was because it didn't download properly because when I tried downloading it for the first time with the package manager it kept getting stuck in "validating packages" loop so I had to close unity and reopen it.