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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 1.0.0):
Fixed in: 2022.2.0a1