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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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