Search Issue Tracker

Fixed in Unity 2018.3



Found in


Issue ID




[UWP] IL2CPP build fails when project contains a .winmd file that is compiled from C# code




Priority: 7Not yet prioritized for a release


Severity: 2Core functionality majorly impacted

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.

Comments (1)

  1. B8e0d85bf0a40f88f8fb65ae438d4f3d?d=mm


    Jul 30, 2018 22:36

    Unfortunately it's still not fixed, although using .winmd is required for background tasks in UWP. See also

All about bugs

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