Search Issue Tracker

Fixed in built-in

Fixed in 1.0.0-preview.19

Votes

0

Found in [Package]

1.0.0-preview.14

Issue ID

1303154

Regression

No

BindProperty on SerializedProperty of type "ulong" does not bind to INotifyValueChanged<long>

Package: UI Toolkit

-

How to reproduce:
1. Open the user's attached project (link in the Edit)
2. Create a new empty GameObject in the Hierarchy and select it
3. In the Inspector select Add Component>Scripts>Bug>Inspector Test Component
4. In the Inspector Test Component set the two properties to any value
5. In the Hierarchy select any other object, for example, Main Camera
6. Select back the GameObject
7. Notice "uint64_property" is 0 instead of the value you put in

Expected results: UInt64 also works with INotifyValueChanged<long> like UInt32 does with INotifyValueChanged<int>
Actual results: UInt64 does not bind to INotifyValueChanged<long>

Reproducible with: UI Toolkit 1.0.0 (2019.4.20f1), 1.0.0-preview.14(2020.2.6f1, 2021.1.0b7)
Could not test with: UI Toolkit 1.0.0 (2018.4.32f1), 1.0.0-preview.14 (2021.2.0a6) (errors downgradin/upgrading)

  1. Resolution Note (fix version built-in):

    Fixed in built-in package version which is available in 2021.2.0b16 and up

  2. Resolution Note (fix version 1.0.0-preview.19):

    Fixed in built-in package version which is available in 2021.2.0b16 and up

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.