Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.1
2021.2
2021.2.0a3
Issue ID
1312147
Regression
No
[UI Toolkit] NullReferenceException when using BindingExtensions.TrackPropertyValue
How to reproduce:
1. Open the project "UIToolkit-PropertyField-RightClick.zip"
2. Select the "New Scriptable Object UI Toolkit" asset in the Project window
3. Change the color value of "A Color"
Expected: Changing any value in the editor log a message about that value change in the console
Actual: NullReferenceException is logged when selecting the asset and when any property value is changed.
Reproducible with - 2021.1.0b3, 2021.2.0a3
No TrackPropertyValue method - 2020.2 and earlier
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a8