Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.3.38f1
2022.3.27f1
Issue ID
UUM-70743
Regression
No
Error "ArgumentException: Both 'ok' and 'cancel' strings are null or empty" logged when User is trying to create circular dependencies in UI Builder Hierarchy
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
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Cannot reproduce.