Steps to reproduce:
- Open any Project
- Open UI Builder (Window > UI Toolkit > UI Builder)
- Drag 2 Elements from the Standard Library and right-click both of them to Create Templates
- In the Library select Project, hover over one of the Templates you created and on the highlight's right click the navigation icon to open the Asset
- You'll be asked to save the current Asset, do this
- Once one of the Template Assets are open in UI Builder, in the Library Project section double-click the Asset where both of the Templates were created (Saved in step 5) to add to the Hierarchy
Actual results: Error "ArgumentException: Both 'ok' and 'cancel' strings are null or empty" is printed in Console
Expected results: Visual indication to users that adding this Asset will create circular dependencies
Reproducible with versions: 2021.3.38f1, 2022.3.27f1, 2023.1.20f1, 2023.2.20f1
Not reproducible with versions: 6000.0.0f1 (Visual indication to users that adding this Asset will create circular dependencies is implemented)
Tested on (OS): Windows 11