Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X, 2018.1.X, 2018.2.X
Votes
1
Found in
2017.4.4f1
Issue ID
1045847
Regression
No
[UWP] IL2CPP build fails when project contains a .winmd file that is compiled from C# code
Steps to reproduce:
1. Download attached project
2. Switch platform to UWP.
3. In toolbar select Tools -> Vungle -> Prepare Windows 10 Build
4. Build project with IL2CPP backend
Results: Build faild with an exception:
IL2CPP error for type 'VungleSDK.adplay.AdViewContainer/<>c__DisplayClass66_0' in assembly 'C:\Users\NAME\NAME\case_1045847-Vungle-UWP-Test\Temp\StagingArea\Data\Managed\VungleSDK.winmd'
Additional information: Build a development build for more information. Sequence contains no matching element
Reproduced with: 2018.3.0a1, 2018.2.0b6, 2018.1.4f1, 2017.4.5f1, 2017.3.2f1, 2017.1.4f1
Workaround: switch scripting backend to .NET in the Player settings.
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Yuriy-Ivanov
Jul 30, 2018 22:36
Unfortunately it's still not fixed, although using .winmd is required for background tasks in UWP. See also https://forum.unity.com/threads/uwp-il2cpp-build-fails-if-winmd-plugin-references-system-xml-due-to-an-exception-in-il2cpp-exe.534554