Search Unity

Bug Crash when launching game with an exception of Unable to load DLL 'MicrosoftOpenXRPlugin'

Discussion in 'VR' started by emrys90, May 28, 2021.

  1. emrys90

    emrys90

    Joined:
    Oct 14, 2013
    Posts:
    755
    Does anyone know how to resolve this issue?

     
  2. the_real_apoxol

    the_real_apoxol

    Unity Technologies

    Joined:
    Dec 18, 2020
    Posts:
    467
    Forwarding to microsoft, but do you know what version of the microsoft openxr package you have in stalled?
     
  3. keveleigh

    keveleigh

    Official Microsoft Employee

    Joined:
    Jun 19, 2015
    Posts:
    35
    Following up on that, if you could provide:
    1. Which version of the Microsoft OpenXR package do you have installed?
    2. Were you building x86/x64/ARM/ARM64?
      1. The latest versions of the Microsoft package support x64, ARM, and ARM64, but some earlier versions only supported x64 and ARM64.
     
  4. yl-msft

    yl-msft

    Microsoft Employee

    Joined:
    Jul 24, 2020
    Posts:
    10
    Form the traces above, it sees, @emrys90 , you are running an unknown openxr runtime. Is this an conformant openxr runtime? How did you configured your project? Is it a standalone (win32) platform? Are you building your app in x86 or x86_x64 flavor? Any context information can help us diagnose and therefore help you.
     
  5. emrys90

    emrys90

    Joined:
    Oct 14, 2013
    Posts:
    755
    I'm not sure to be honest. I uninstalled the WMR OpenXR runtime as I realized it wasn't necessary, I just needed the normal OpenXR plugin instead.
     
  6. yl-msft

    yl-msft

    Microsoft Employee

    Joined:
    Jul 24, 2020
    Posts:
    10
    Let's narrow this down a bit. Can you answer Kurtis's question above? what version is your package and what target platform are you building your app? What VR device are you using on your computer? And what is your openxr feature settings? for example like this in my project.
    upload_2021-6-9_18-10-2.png