Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Initializing loader takes forever

Discussion in 'VR' started by pabuty, Nov 24, 2023.

  1. pabuty

    pabuty

    Joined:
    Apr 7, 2022
    Posts:
    24
    Hi,

    I used Unity's XR plugin management guide to initialize XR via script (the first case, "Automatic XR loading"):
    https://docs.unity3d.com/Packages/com.unity.xr.management@4.0/manual/EndUser.html

    There is no XR device connected to my PC and initialization at start is disabled for all platforms. But it doesn't yield a null (or non-null) activeLoader in Win64 build mode (in Editor it works fine). It means my project never knows if an XR device is connected or not.
     
  2. unity-chris

    unity-chris

    Unity Technologies

    Joined:
    Nov 10, 2022
    Posts:
    29
    Hey,

    I have a couple of questions:
    1. Does the yield never resolves?
    2. What are the settings you're using for plug-in providers, in the XR Plugin Management settings per platform?