Search Issue Tracker
In Progress
Fix In Review for 6000.0.X, 6000.2.X
Fixed in 6000.3.0b7, 6000.4.0a4
Votes
0
Found in
2022.3.62f1
6000.0.48f1
6000.1.3f1
6000.2.0b1
6000.3.0a1
Issue ID
UUM-105294
Regression
No
XML data is incorrectly parsed due to XmlReader.ByteArrayToHex when deserializing in WebGL builds
Reproduction steps:
1. Open the attached “IN-101795.zip” project
2. Build and Run the “SerializeTest” Scene for WebGL (File > Build and Run)|
3. Once built, open the Console in the browser (F12)
4. Observe the values in “HexBinary Serialized:” after deserialization
Expected result: All of the values should be the same as before deserialization (“<TestBool2>” (true), “<TestInt2>”(37), “<TestFloat2>” (123.456), “<TestString2>” (Hex Test))
Actual result: The values for “<TestBool2>” (false), “<TestInt2>”(0) and “<TestFloat2>” (0) are incorrect and “<TestString2>” value is missing
Reproducible with: 2022.1.0a1, 2022.3.62f1, 6000.0.48f1, 6000.1.3f1, 6000.2.0b1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- If an error is present in the Console once the project is opened, remove the "LinuxStandalone64Server" string from the SourceFiles.asmdef file
- The correct result can be seen entering Play mode in the Editor and observing the values in the Console
- XmlReader.ByteArrayToHex behaves differently between Editor and WebGL: in Editor it reads the XML element and advances the reader to the next element, while in WebGL it reads but fails to advance, causing parsing mismatches
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment