Search Issue Tracker

Fixed in 4.5.3

Votes

0

Found in

4.5.1p2

Issue ID

616138

Regression

Yes

Unity 4.5 build creates two references for a WP8 plugin

WP8

-

To reproduce:
1. Open attached project. It contains a plugin and a scene that uses the plugin.
2. Build the project for wp8 (include the main scene)
3. Deploy via VS - System.IO.FileLoadException is thrown. If continued, the app log also prints out:
"FileLoadException: Could not load file or assembly 'Ionic.BZip2.CF, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

When inspecting the Assembly-CSharp.dll via ILSpy you can notice that there are two references to the plugin, one with a null PublicKeyToken and one with some value in the PublicKeyToken

In a 4.3.4f1 build just one null PublicKeyToken reference can be found

Comments (2)

  1. tkoknordic

    Jul 25, 2014 13:19

    I had same problem. After Patch 4.5.2p1 it started to work.

  2. vladrybak

    Jul 17, 2014 04:31

    When i upgraded to 4.5.2 my flurrywp8sdk failed with this exception:
    {System.IO.FileLoadException: Could not load file or assembly 'FlurryWP8SDK, Version=3.1.1.0, Culture=neutral, PublicKeyToken=d822942b4ec01210' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'FlurryWP8SDK, Version=3.1.1.0, Culture=neutral, PublicKeyToken=d822942b4ec01210'
    In 4.5.1 everything was fine. So? what should i do?

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.