Plugins are not find after build
Hello Guys.
I'm using the MediaInfo.dll Win 64x in my game. First even when the dll was placed in the right folder (Asset\Plugins). Unity (Editor) was not finding the dll. Then I put the dll in the ProgramFiles\Unity\Editor and the plugin start to work (Unity Editor)
Now that I had built the game the plugins can't be founded. (The dll is in the Plugins folder inside gamefolder_data)
Someone have an ideia?
Thank you
Answer by Barruchi · Feb 04, 2017 at 05:27 AM
Found a solution Here... In my case the class that import the .dll was using the DllImport in a wrong way. When using the DllImport you should not add the extesion (.dll)
Wrong: [DllImport("MediaInfo.dll")]
Right: [DllImport("MediaInfo")]
Answer by FortisVenaliter · Feb 03, 2017 at 08:49 PM
Anything in the Editor folder is not included in the build... only the Editor.
You did not get it. Is not a folder Editor inside the Assets. It's really the Unity folder.
Your answer
![](https://koobas.hobune.stream/wayback/20220612110222im_/https://answers.unity.com/themes/thub/images/avi.jpg)