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
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
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
wilgieseler
Mar 16, 2023 17:49
It's claimed there would be a backport but it hasn't been done yet. https://forum.unity.com/threads/uitoolkit-styleanimation-issue-transition-property-references-non-set-value.1257483/#post-8749335