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.
Written by Stefan Sigl
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Unity
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#