Error message when starting the ActiveSetterExample
Issue #90
resolved
Reported via mail:
Upon playing the default ActiveSetterExample scene, the following error occurs:
InvalidOperationException: DataContextNodeConnector not initialized yet Slash.Unity.DataBind.Core.Presentation.DataContextNodeConnector.SetValue (System.Object value) (at Assets/Slash.Unity.DataBind/Scripts/Core/Presentation/DataContextNodeConnector.cs:190)
Comments (3)
-
reporter -
reporter - changed status to resolved
-
reporter - removed milestone
Removing milestone: 1.17 (automated comment)
- Log in to comment
The example used the deprecated ToggleIsOnGetter which I replaced with ToggleIsOnProvider & ContextDataUpdater.
The old ComponentSingleGetter classes don't consider the initialization order of the data node connectors which may be initialized only at the end of the frame. The ContextDataUpdater does.