question

liangwang-8354 avatar image
0 Votes"
liangwang-8354 asked SethDu-MSFT answered

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

liangwang-8354 avatar image
0 Votes"
liangwang-8354 answered

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



报错.png (344.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethDu-MSFT avatar image
1 Vote"
SethDu-MSFT answered

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.




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your reply. I will try to solve it in your way. I have previously analyzed the dependency file of this DLL file on Depends, and I am trying to solve it through this method.

About your question:

The DLL file is my custom file.

0 Votes 0 ·

I have modified my previous answer. Please take a look.

0 Votes 0 ·