- Home /
DLL worked on WPF but not on Unity.
I have a DLL file (not my custom dll) work as communicator to another devices. There is an example solution (WPF) that use the file which working fine. I tried to create another project (WPF) to test again the file and it is also good. But when I import on Unity (2019.2.0f) to use, it keeps crashing everytime I play.
Is there any reason makes it crashing? Or is there anything I should look into first before using the file?
Please help, thanks in advance.
The dll might not be included in the build? Go to the dll in the project and there are checkboxes that say "Select platform for this plugin". Check the ones you want (editor? standalone?) Then you can make a build and check the build log in C:\Users\YOURUSER\AppData\Local\Unity\Editor\Editor.log and search for the dll. Is it there?
I have a similar issue. I get DLL not found when I build the APP for the HoloLens. It works fine in the Editor. The DLL does not appear in the Editor.log file. What could be the problem.
Your answer
Follow this Question
Related Questions
Failed to load DLL with error "The specified module cannot be found." 1 Answer
DLLs work on Windows but not on Android 1 Answer
DLL NOT FOUND EXCEPTION even after following procedure 0 Answers
Unable to find type or namespace of imported DLL 0 Answers
Include two of the same DLLs in one solution and Visual Studio 0 Answers