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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
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.