Closed thefuntastic closed 3 years ago
In general, deactivating the game object at any point during a transition can cause errors. This goes with Unity convention as deactivating an object will disable coroutines.
Also need to make sure that the previous transition doesn't stall Safe transitions when the game object is reativated
Deciding this is a won't fix as behaviour follows what would happen with disabling monobehaviours mid coroutine. In short, don't do it!
In particular when the state change is initiated by a late event method such as OnBecameInvisible this is presumably because deactivating the game object is beating the Enter Couroutine in some way.