Error message when starting the ActiveSetterExample

Issue #90 resolved
Christian Oeing repo owner created an issue

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)

  1. Christian Oeing reporter

    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.

  2. Log in to comment