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:

  1. Open any Project
  2. Open UI Builder (Window > UI Toolkit > UI Builder)
  3. Drag 2 Elements from the Standard Library and right-click both of them to Create Templates
  4. 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
  5. You'll be asked to save the current Asset, do this
  6. 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

  1. Resolution Note:

    Cannot reproduce.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.