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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
This is a duplicate of issue #626906