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
- “Client And Server” shown without spaces in Active Scenario window
- [Linux] Mouse cursor gets stuck at the edge of the screen when trying to pan in the Scene view
- Docked Multiplayer Play Mode window disappears when switching back to a saved Editor layout
- Audio files fail to be imported when the file path is 260 characters or longer
- Error SGICE002 is wrongly shown when more than one argument is passed into GetComponentRW()
Add comment