In the example Conditional Graph scene, when ForNode work together with WaitNode, ForNode does not wait for WaitNode to complete the work, but directly completes the loop at once, and the following error log is generated:
Error log:
NullReferenceException: Object reference not set to an instance of an object
NodeGraphProcessor.Examples.WaitableNode.ProcessFinished () (at Assets/Examples/ConditionalGraph/ConditionalNode.cs:60)
NodeGraphProcessor.Examples.WaitMonoBehaviour+<_Process>d__1.MoveNext () (at Assets/Examples/DefaultNodes/Nodes/WaitNode.cs:45)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
In the example Conditional Graph scene, when ForNode work together with WaitNode, ForNode does not wait for WaitNode to complete the work, but directly completes the loop at once, and the following error log is generated:
Error log: NullReferenceException: Object reference not set to an instance of an object NodeGraphProcessor.Examples.WaitableNode.ProcessFinished () (at Assets/Examples/ConditionalGraph/ConditionalNode.cs:60) NodeGraphProcessor.Examples.WaitMonoBehaviour+<_Process>d__1.MoveNext () (at Assets/Examples/DefaultNodes/Nodes/WaitNode.cs:45) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at:0)