Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4

2019.4.32f1

2020.3

2021.2

2022.1

Issue ID

1383697

Regression

No

System.Runtime.WindowsRuntime methods not generated properly in IL2CPP build

IL2CPP

-

Reproduction steps:
1. Open project "TestProject.zip"
2. Open the Build Settings window in File > Build Settings
3. Set Platform to Universal Windows Platform and turn on Development Build
4. Build and run Scene "SampleScene"
5. Observe errors in the console

Expected result: No exceptions thrown in the console
Actual result: Exceptions thrown in the console

Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2

Error: called non-existent method System.Threading.Tasks.Task`1<System.IO.Stream>

  1. Resolution Note (2022.2.X):

    The provided dll in the sample appears to be built against .net5 or similar target framework that is not directly compatible with Unity's profiles. The plugin dll can be patched during the build process as long as the "Don't Process" setting is not checked. It is noted that the tooltip states that the setting has no effect. This is incorrect and we intend to resolve this confusion in a future release.

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.