Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alwex opened this issue Nov 25, 2019 · 1 comment

Comments

@alwex
Copy link

alwex commented Nov 25, 2019

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.

@alwex alwex changed the title Update does not wait for Enter Coroutine to finish execution before executing Update does not wait for Enter Coroutine to finish execution before starting Nov 26, 2019
@st4rdog
Copy link

st4rdog commented Oct 12, 2020

Possibly the same issue as here - #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants