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
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>
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
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
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.