Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0a3
2018.4.3f1
2019.1
2019.2
2019.3
Issue ID
1170633
Regression
Yes
Native Plugin regression from 2018.x results in "DllNotFoundException" error
Reproduction steps:
1. Open "zProject_694000.zip" project
2. Open "Demo" scene
3. Enter Play mode
4. Notice an "DllNotFoundException: GUINativePlugin" error
Expected Result: No error appears due to the dll file
Reproduced with: 2019.3.0a10, 2019.2.0b10, 2019.1.11f1, 2018.4.5f1, 2018.1.6f1, 2018.1.0b1, 2018.1.0a7, 2018.1.0a5, 2018.1.0a3
Did not reproduce on: 2018.1.0a2, 2018.1.0a1, 2017.4.30f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Double clicking script field no longer opens it in the external script editor
- [Android] Build fails with built-in PAD custom asset(s) when using sample Addressable
- [iOS] nw_read_request_report crash
- The serialized field value cannot be changed when trying to set it back to "None"
- The dropdown component breaks when the 31st Layer is used
Resolution Note (2019.3.X):
This is an issue with the .dll in the project and not in Unity.
In the Editor.log you will the following error message:
Plugins: Failed to load 'Assets/Plugin/GUINativePlugin.dll' because one or more of its dependencies could not be loaded.
When opening the GUINativePlugin.dll in the free Dependency Walker tool (http://www.dependencywalker.com/), you can see that the .dll has a dependency on TEXTURECONVERTER.DLL that is not included in the project. And this is why DllNotFoundException is thrown, because we are unable to load the native GUINativePlugin.dll due to a missing dependency.