You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
num1 is the current state of the state machine which is created for this method. A call to OnEnter should only happen if the current state is the initial state (-1).
The text was updated successfully, but these errors were encountered:
Hey,
It seems there is a bug in weaving async methods.
Attribute:
Annotated class method:
Decompiled weaved code:
As it can be seen, the call to
OnEnter
is based on the following condition:I think, the condition should be this instead:
num1
is the current state of the state machine which is created for this method. A call toOnEnter
should only happen if the current state is the initial state (-1
).The text was updated successfully, but these errors were encountered: