Search Issue Tracker
Fixed in 2018.3.X
Votes
13
Found in
5.6.0b10
Issue ID
887128
Regression
No
[WSA] XMLSerializerException thrown when running the IL2CPP build
Steps to reproduce:
1. Open the attached project (XMLTest.zip)
2. Open the Assets/Game.unity scene
3. Switch platform to Windows Store
4. Build for WSA Universal 10 SDK (IL2CPP backend), Build type - XAML
5. Open Visual Studio solution
6. Deploy on local machine (Debug or Release)
7. Observe the errors in the Output console
Expected result: Errors should not appear in the Output console
Actual result: Errors appear in the Output console
Note:
Not reproducible with Master mode
Reproduced with: 5.6.0b10, 5.6.0b11, 2017.1.0a2
Not reproduced with: 5.4.5f1, 5.5.2p2
Fixed in: 2018.3.0a11 (on .NET Standard 2.0 Api Compatibility Level)
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
JoshPeterson
Jun 06, 2018 11:56
The problem here is managed code in System.Xml.dll that does not place nicely with an AOT compiler (like IL2CPP).
We've corrected this issue in 2018.1 and 2018.2. In those versions of Unity, you will need to use the .Net Standard 2.0 Api Compatibility Level to get the AOT-friendly version of System.Xml.dll. In Unity 2018.3 we will also have an AOT-friendly version of System.Xml.dll for the .NET 4.x Api Compatibility Level.
I'm not sure why I marked this as Won't Fix - that was an error. Sorry!
sailoralex
Jan 24, 2018 10:31
this bug is still there in 2017.3.0f3
Siyka
Oct 30, 2017 15:58
Six months later still not fixed. 2017.2. We cannot update any of our games for Windows. The alternative .NET build has other issues. Shall we give up using Unity?
Jabbah76
Apr 25, 2017 07:07
Unfortunately for me, this bug is also reproducible in Master mode.
Mathijs333
Apr 25, 2017 06:50
Also reproduced in master mode.
This withhold us from publishing because of other bugs in 5.5.2, so please, could this get a higher prio?