Search Issue Tracker
Fixed
Fixed in 6000.0.6f1, 7000.0.0a2
Votes
0
Found in
6000.0.4f1
7000.0.0a1
Issue ID
UUM-73046
Regression
No
"Invalid UXML or USS: System.InvalidCastException" and "ArgumentException: invalid path" errors are thrown and UI Documents become unusable when they are saved with invalid attributes
Reproduction steps:
1. Open the attached “UXML Test Project.zip” project
2. Double-click the "Doc" asset from the Project window to open it in the UI Builder window
3. In the StyleSheets Hierarchy section of the UI Builder window, expand “Doc.uxml” and select the “ui concepts-placeholder” element
4. In UI Builder’s Inspector, click “Add” next to “Bind Function”
5. Add “Double Visual Arg” to the “Inputs” list four times
6. In the StyleSheets Hierarchy, expand further and select the “text” element
7. Click “Add” next to “Bindtextfunction”
8. Add “Double Visual Arg” to the “Inputs” list once
9. Save the document
10. Observe the errors in the Console window
Expected results: No errors are thrown
Actual results: "Invalid UXML or USS: System.InvalidCastException" and "ArgumentException: invalid path" errors are thrown
Reproducible with: 6000.0.4f1
Couldn’t test with: 2021.3.39f1, 2022.3.31f1 (UXMLObject attribute does not exist)
Reproducible on: Windows 10, Windows 11
Couldn’t test on: MacOS (due to the contents of the DLL in the project)
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Add comment