Search Issue Tracker

Active

Under Consideration for 2021.3.X

Votes

8

Found in

2021.3.17f1

2022.2.3f1

Issue ID

UUM-24716

Regression

No

NullReferenceException and ArgumentException errors are thrown after entering and exiting Play mode when UI Document component is used in the Scene

--

-

Reproduction steps:
1. Open the attached “TransitionBug.zip“ project
2. Open “SampleScene” scene
3. Enter Play mode
4. Exit Play mode and observe the Console window

Expected result: Console window shows no errors
Actual result: Console window shows errors

Reproducible with: 2021.3.17f1, 2022.2.0a16, 2022.2.3f1
Not reproducible with: 2023.1.0a26
Could not test with: 2020.3.44f1 (Due to error in the Console window)
Fixed in: 2023.1.0a1

Reproduced on: macOS Monterey 12.6 (Intel)

Errors:
NullReferenceException: Object reference not set to an instance of an object
ArgumentException: An item with the same key has already been added

Note: Script error is related to the UI Document component bug

Comments (1)

  1. wilgieseler

    Mar 16, 2023 17:49

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.