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

WP8.1

-

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.

  1. This is a duplicate of issue #626906

    Native plugins can not be used in Windows Phone 8.1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.