Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0b5
Issue ID
839333
Regression
No
[UWP] Universal Windows native dll is ignored in Release/Master but works in Debug
Steps to reproduce:
1. Open attached project "839333.zip"
2. Open scene "Dummy"
3. Build for Local Machine
4. Once building is done open solution with VS
5. Open App.xsml.cpp and at the end of constructor add "m_AppCallbacks->AddCommandLineArg("-force-d3d11-no-singlethreaded");"
6. Run solution as x86 Debug and notice that video does play
7. Run solution as x86 Release and notice error printed every frame:
InvalidOperationException: Nullable object must have a value.
-Plugin works fine on x86 when running Debug build. Doesn't work on Release and Master builds
-Reproducible on .NET and IL2CPP
-Tested on Universal 8.1 and plugin is missing in all cases
-Tested on x64, plugin is missing in all cases
-Running as Release throws the following error in UnityPlayer.log file:
Loading native plugins
Loading MFUnityBridge.dll
Failed to load 'MFUnityBridge.dll', expected x86 architecture, but was Unknown architecture. You must recompile your plugin for x86 architecture.
(Filename: C:\buildslave\unity\build\Runtime/Misc/Plugins.cpp Line: 139)
Reproduced with: 5.3.6p7, 5.4.1p4, 5.5.0b7
Comments (1)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
danilogasques
Mar 16, 2017 12:43
I am having a similar issue with Unity3D, but my library doesn't get recognized on either build modes.