Search Unity

Question DLL NotFoundException on Running VR project.

Discussion in 'XR Interaction Toolkit and Input' started by devushkabeam, Mar 23, 2023.

  1. devushkabeam

    devushkabeam

    Joined:
    Jan 22, 2021
    Posts:
    1
    Hi,
    I'm trying to compile a basic VR unity project just to test the system on my M1 mac. The system I'm using is pretty janky - I am a beginner so forgive me. I'm using an old Vive with an old Beta version of SteamVR. My build settings are set to target Windows x86_64 and I am using the 2021.3.16f1 LTS Unity editor for Silicon.

    I keep getting DllNotFoundException errors when attempting to run the project through my VR headset. Any ideas what might be going wrong here?

    The exact error is:

    DllNotFoundException: UnityOpenXR
    UnityEngine.XR.OpenXR.OpenXRLoaderBase.Initialize () (at Library/PackageCache/com.unity.xr.openxr@1.0.3/Runtime/OpenXRLoader.cs:172)

    Thanks in advance.
     
  2. VRDave_Unity

    VRDave_Unity

    Unity Technologies

    Joined:
    Nov 19, 2021
    Posts:
    275
    Hey @devushkabeam,
    Does that older version of SteamVR support OpenXR? Is it set as the active OpenXR Runtime? I also wonder if it's having problems detecting the right architecture between x86 and the M1 (are you running Windows on the Mac or some other program to launch Windows exes?)