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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
Resolution Note (fix version 1.0.0):
Fixed in: 2022.2.0a1