During testing of our project, we have found out, that the onvaluechanged handler is called multiple times. Since we are still using v 1.0.9. we have prepared a simple change of Property.cs file to test it out in the latest 1.0.13 version (see the attachment)
Problem is, that deinit is basically almost never called, so when property does change, it gets handled multiple times at once.
How to test it out: 1. Replace your property.cs file with the attached one 2. Try to run for example synchronizers test scene 3. change characters multiple times (Property.ValueChanged [CharacterContext.cs:13.Property<Int32>] registering Slash.Unity.DataBind.Core.Data.ValueChangedDelegate) 4. Update property of the character
You should see when you update the property Size of invocation list 1 but instead you will see Size of invocation list X where X is up to 4.
- when you disable gameobject, which is called "root" and re-enable it, it does not help even thought, there is a code, that shoudl de-inicialize property bindings ondisable, it just is not working