I am using coroutines in my game as I like to take advantage of the "waitforseconds" feature and in the editor it worked perfectly however when I built and ran the game on my mobile device the coroutines are not working, does anyone know why this is happening and if there is a way to fix it?
same problem, it really sucks...it works perfectly on editor but not on android device
Actually it doesn't even work in a Windows build. Lesson for me: avoid coroutines at all cost
Answer by adriono
4 days ago
I recommend More Effective Coroutines:
This free asset using less memory and is faster than standard coroutines. I haven't any problem with it and it's very easy to use.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
80 People are following this question.
Add points every five seconds
What is Coroutine, Yiel and IENumerator?
Coroutine doesn't continue after yield another coroutine
[C#] Coroutine just won't stop!
When to use IEnumerator ?