Skip to content

Update does not wait for Enter Coroutine to finish execution before starting #35

@alwex

Description

@alwex

I am experiencing a strange issue, it seems that the state machine does not wait for the Enter Coroutine to finish its execution before executing the Update function

  IEnumerator NextRound_Enter()
  {
    Debug.Log("NextRound Enter 1");
    yield return new WaitForSeconds(2f);
    Debug.Log("NextRound Enter 2");
  }

  void NextRound_Update()
  {
    Debug.Log("NextRound Updating");
  }

see the logs attached:

Screen Shot 2019-11-25 at 6 01 04 PM

This is a great library, and I really wish that this functionality work.

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