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
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
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
tkoknordic
Jul 25, 2014 13:19
I had same problem. After Patch 4.5.2p1 it started to work.
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?