Search Unity

DllNotFoundException: Unable to load DLL 'HDFql'

Discussion in 'Web' started by C1wan, Jun 16, 2022.

  1. C1wan

    C1wan

    Joined:
    May 5, 2022
    Posts:
    14
    Hello,

    so I am trying to get my WebXR project working but when I Buiild and run my project this Exception is getting thrown in the browser:
    DllNotFoundException: Unable to load DLL 'HDFql'. Tried the load the following dynamic libraries:
    Rethrow as TypeInitializationException: The type initializer for 'AS.HDFql.HDFqlPINVOKE.SWIGExceptionHelper' threw an exception
    I looked up and tried many things like Dependencywalker to see what dependencs are missing or putting the HDFql.dll file in my System32 folder and using DllImport. I also searched up to cross-compile the dll. But these are all not working, could it be because this is a third party dll and WebGL does not recognize it or that WebGL is AOT (ahead-of-time)?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,005
  3. C1wan

    C1wan

    Joined:
    May 5, 2022
    Posts:
    14
  4. jimmy6dof

    jimmy6dof

    Joined:
    Nov 7, 2022
    Posts:
    5
    Little late perhaps but I hope you discovered De Panther's WebXR exporter