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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Resolution Note (fix version 1.0.0):
Fixed in: 2022.2.0a1