- Home /
 
 
               Question by 
               b2hinkle · Jun 11, 2018 at 09:40 PM · 
                c#coroutineienumeratorstartcoroutinecoroutine errors  
              
 
              I can't start a coroutine. I get a weird message from visual studio
For some reason, it won't let me StartCoroutine(WaitThenSpawn()). It gives me this error message.

 
                 
                print.png 
                (56.9 kB) 
               
 
              
               Comment
              
 
               
              Answer by UnbreakableOne · Jun 11, 2018 at 09:56 PM
Return type of your coroutine should be "IEnumerator", not "IEnumerable". Yes, they are awfully similar ;)
Your answer