Search Issue Tracker
Duplicate
Votes
0
Found in
4.5.2p3
Issue ID
624032
Regression
No
Build & Run for WP8.1 does not load native plugin
Build&Run for Phone 8.1 sdk fails to load native plugins. It throws an error that can be seen if using a development build.
Deploying the same solution through Visual Studio works fine.
To reproduce:
1. Open attached project
2. Build & Run for Windows Store with Phone 8.1 sdk development build
3. When deployed, notice the errors in the phone:
Exception: Unable to load DLL 'WP81NativePlugin.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Type: System.DllNotFoundException
Module: Assembly-CSharp
InnerException: <No Data>
AdditionalInfo:<No Data>
at Useit.GetHelloWorldString()
at Useit.Start()
at Useit.$Invoke1(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
If you deploy the same solution via Visual Studio (debug mode) - everything works fine
This is caused by the fact that the plugin was built with a debug configuration. It can be solved by building a release configuration of the plugin.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #626906