Skip to content

ForNode can't work together with WaitNode #230

@lr8soft

Description

@lr8soft

err

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions