Search Issue Tracker

Won't Fix

Under Consideration for 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X

Votes

0

Found in

2021.3.22f1

2022.2.13f1

2023.1.0b10

2023.2.0a9

2023.3.0a3

Issue ID

UUM-32313

Regression

No

TryGetValueFromBag does not return false when used on a UxmlTypeAttributeDescription

--

-

How to reproduce:
1. Open the attached Project "TypeTest" and load Scene "SampleScene"
2. Observe the Console

Expected result: No errors are present in the Console and a "Type: False" log can be seen
Actual result: A TypeLoadException is thrown and a "Type: True" log can be seen

Reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a9

  1. Resolution Note:

    After investigating the issue, we have found that it's only present with the project attached. By removing the broken script reference from the UI Document and recreating the custom element(s), either through code or with the builder, using the existing or a new UXML, does not spawn the error mentioned.

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.