Search Issue Tracker
Fixed in 1.0.0
Votes
0
Found in [Package]
1.0.0
Issue ID
1399388
Regression
Yes
NullReferenceException is thrown when removing UIToolkit button from the Hierarchy after removing it's sibling
How to reproduce:
1. Open the user's attached project
2. Open "Scene" Scene
3. Enter Play Mode
4. Press the "Click me!" button
5. Press the "Retry." button
6. Repeat steps 4 and 5
Expected result: No errors are thrown in the Console window
Actual result: NullReferenceException and ArgumentException errors are thrown in the Console window
Reproducible with: 2022.1.0a12, 2022.1.0b5
Not reproducible with: 1.0.0-preview.18 (2020.3.27f1), 2021.2.11f1, 2022.1.0a11, 2022.2.0a1, 2022.2.0a4
Could not test with: 2019.4.36f1 - UI Toolkit package unavailable
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Resolution Note (fix version 1.0.0):
Fixed in: 2022.2.0a1