DllNotFoundException in unity3d plugin for c++ dll

后端 未结 7 1497
死守一世寂寞
死守一世寂寞 2021-01-11 17:49

I am working on the Unity Plugin project and try to import the c++ native dll from c# file. But I keep getting dllnotfoundexception.

c++ dll code:

相关标签:
7条回答
  • 2021-01-11 18:49

    Well I got it working. For others who may face this problem, if you have more than one dll, you need to put the secondary dlls at root level of the Unity editor (e.g. C:\Program Files\Unity\Editor) and the actual referenced dll from script into plugins folder. This worked for me.

    0 讨论(0)
提交回复
热议问题