Items of a GameObjectItemsSetter are initialized with one frame delay

Create issue
Issue #81 resolved
Christian Oeing repo owner created an issue

Reported in the Unity forum at https://forum.unity.com/threads/released-data-bind-for-unity.298471/page-6#post-3589704

"It looks like LateUpdate is an issue for me. I have a collection and GameObjectItemsSetter which instantieate gameobject with internal contextHolder. The problem is that Frame1 - Read collection instantiate object instances (with default values in text fields, images, etc) Frame2 - TextSetters, ImageSetters change value to actual value from contexts"

Comments (2)

  1. Christian Oeing reporter

    Added a global initializer for the data context node connectors. It makes sure that initializations that are scheduled by previous initializations (e.g. GameObjectItemsSetter) are executed within the same frame without any delay.

  2. Log in to comment