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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #626906