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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a8