Hi, we’ve found an issue with UI Toolkit that is greatly affecting the usability of the tool.
After embedding two or more instances of the same Template inside a UXML document and saving, removing one instance and saving again will corrupt the document.
The “src=” and “guid=” fields of the original instance will be removed and this results in the following error being displayed in the console:
Semantic - 'Template' declaration requires a 'path' or 'src' attribute referencing another UXML file
This is easily reproducible in the latest 6.2.
Here’s a video of the issue.