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. Dismiss Notice

Bug Built application hanging on XR loader initialization with SteamVR (Pico 4 Enterprise)

Discussion in 'VR' started by thijshendrickx, Oct 5, 2023.

  1. thijshendrickx

    thijshendrickx

    Joined:
    Oct 7, 2021
    Posts:
    3
    We have a problem where our Unity application (built, not in-editor) frequently hangs on startup, very early in the start-up process. Looking at the logs, it seems to hang indefinitely right after the first XR initialization log message came through. After enough system restarts and replugging the Pico 4 Enterprise link cable it usually starts magically working again, until it doesn't.

    Some information about our setup:
    • Unity version 2022.3.4f1
    • OpenXR Plugin version 1.8.2
    • Using the Pico 4 Enterprise, which uses SteamVR for its OpenXR runtime
    • SteamVR version 1.27.5
    • Reproduced on a variety of systems with GPU's ranging from 10 to 40 series NVIDIA, different generation Intel processors, and RAM up to 16GB (RAM usage does not seem to be a problem, looking at task manager)
    • I attached a SteamVR System Report from one of the systems where the problem was reproduced.
    Full Unity logs:

    Mono path[0] = 'C:/CleVR/SocialWorlds/CleVR.SocialWorlds.Unity_Data/Managed'
    Mono config path = 'C:/CleVR/SocialWorlds/MonoBleedingEdge/etc'
    The command-line parameter 'adapter' has been removed. Please use 'monitor' instead.
    Initialize engine version: 2022.3.4f1 (35713cd46cd7)
    [Subsystems] Discovering subsystems at path C:/CleVR/SocialWorlds/CleVR.SocialWorlds.Unity_Data/UnitySubsystems
    [Subsystems] No descriptors matched for examples in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
    [Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
    [Subsystems] 1 'displays' descriptors matched in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json
    [Subsystems] No descriptors matched for meshings in UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json.
    GfxDevice: creating device client; threaded=1; jobified=1
    [XR] [9764] [15:12:44.456][Info ] Available Layers: (0)

    Let me know what other pieces of information could be helpful, any help would be greatly appreciated.
     

    Attached Files:

  2. thijshendrickx

    thijshendrickx

    Joined:
    Oct 7, 2021
    Posts:
    3
    Note that we are aware of the The command-line parameter 'adapter' has been removed. Please use 'monitor' instead. line, addressing it does not have an effect on this problem. The application has started properly plenty of times even with this warning.