🤔

Coroutines: Halting#

Coroutines are executing from the MonoBehaviour that started them.
They are not running on the object where the method is, unless that object also ran the associated StartCoroutine call.
Coroutines can be stopped with the StopCoroutine method, or StopAllCoroutines.
Coroutines are also stopped when the MonoBehaviour is destroyed or if the GameObject the MonoBehaviour is attached to is deactivated.
Coroutines are not stopped when a MonoBehaviour is disabled.

Resolution#

Ensure you are not:


The coroutine still stops before completion.