DIINotFoundException Unable to load DLL 'RayTraceingver1.dll: The specified module could not be found

Liang Wang 1 Reputation point
2022-04-26T04:08:07.193+00:00

Regarding the dynamic library files that were not working properly on the hololens simulator, the display error reporting information was "DIINotFoundException Unable to load DLL 'RayTraceingver1.dll: The specified module could not be found" , but these were working correctly on the unity, and the error was reported once deployed onto the simulator.

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
380 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Seth DU - MSFT 541 Reputation points
    2022-04-27T08:29:06.3+00:00

    Hi,

    May I ask is RayTraceingver1.dll your customized DLL file? Here are some suggestions to help you troubleshoot this issue.

    • Make sure this DLL file supports ARM64. You may also assess any plugin dependencies that currently exist in your project and determine whether these DLLs can be built for ARM64
    • Make sure the directory is current when importing the DLL file.
    • Single click the DLL file in Project tab of Unity, Check the Platform settings in Inspector and make sure it targets UWP, ARM64.

      to be clear, if you are using HoloLens Emulator on a X64 PC, this DLL should be compatible with X64 and the Emulator is actually based on X64. HoloLens itself is on ARM64. Normally, you may check the compatibility of both sides.

    1 person found this answer helpful.

  2. Liang Wang 1 Reputation point
    2022-04-26T04:11:37.343+00:00

    196441-%E6%8A%A5%E9%94%99.png

    0 comments No comments