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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.