Last Updated: February 25, 2016
·
1.125K
· saig

UNITY3D: Coroutine stopps when parent gets disabled

Coroutine stopps when the parent of the GameObject gets disabled on which the script-component lies which started the coroutine.

Solution:
Call a method on another script which is always enabled and start the coroutine from there.

1 Response
Add your response

I think this bug has been fixed hasn't it? Have you tried it in the most recent versions of Unity?

over 1 year ago ·