Search Issue Tracker
Fixed in 0.10.1
Votes
0
Found in [Package]
0.5.7, 0.10.0
Issue ID
1208859
Regression
No
[UIBuilder] A parsing error is thrown when saving UI Builder .uxml preview file containing '&' character in value fields
How to reproduce:
1. Open the attached 'project-1208859.zip' project
2. In the UI Builder window drag a Label object from the Library to the Preview window
3. In the UI Builder's Inspector change the Label's Text to '&'
4. Save the .uxml asset
5. Observe the Console window
Expected result: no errors are thrown
Actual result: a parsing error is thrown
Reproducible with: 2019.2.19f1, 2019.3.0f5 (0.5.7, 0.9.0, 0.10.0), 2020.1.0a20 (0.9.0, 0.10.0)
Could not test with: 2017.4.36f1, 2018.4.16f1 (UI Builder not available)
Thrown error:
Assets/NewUI.uxml: Syntax - Xml is not valid, exception during parsing: System.Xml.XmlException: An error occurred while parsing EntityName. Line 2, position 45.
at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment