Search Issue Tracker
Fixed
Votes
0
Found in [Package]
Issue ID
1319903
Regression
No
[UI Toolkit] Child's reference is not renamed in parent UXML after renaming the child UXML file
How to reproduce it:
1. Open the attached project "1319903.zip"
2. In the Project window right-click on 'PARENT.uxml' and click on 'Open C# Project' context menu item
3. Notice that the 'PARENT.uxml' file contains 'CHILD.uxml' reference and close it
4. In the Project window rename the 'CHILD.uxml' file to 'CHILD_RENAMED.uxml'
5. Open and observe the 'PARENT.uxml' file
6. Observe the Editor's Console window
Expected result: In the 'PARENT.uxml' file 'CHILD.uxml' reference is changed to 'CHILD_RENAMED.uxml', and there are no errors in the Console window
Actual result: In the 'PARENT.uxml' file 'CHILD.uxml' reference is not changed, and errors appear in the Console window
Reproducible with: 1.0.0-preview.14 (2020.3.0f1, 2021.1.0b11)
Could not test with: 2018.4.32f1, 2019.4.22f1 (UI Toolkit is not introduced yet), 2021.2.0a8 (due to UI Toolkit's errors)
Errors that appear in Actual result:
- Assets/PARENT.uxml (1,2): Semantic - The specified URI does not exist in the current project : Assets/CHILD.uxml
- Assets/PARENT.uxml (4,10): Semantic - Unknown template name 'CHILD'
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note:
FIxed in 2021.2.0a14