Question by
Abhijeet58 · Oct 04, 2018 at 02:13 AM ·
coroutineyieldienumerator
Unity - Lines after yield not getting executed
This code is inside an IEnumerator:
WWW post = new WWW(post_url);
yield return post;
Debug.Log("Id: " + post.text); //This line does not get executed
Any idea why the statements after the yield are never getting executed?
I also tried yield return new WaitWhile(() => hs_post.isDone==true)
but lines ahead still don't get executed
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612175729im_/https://answers.unity.com/themes/thub/images/avi.jpg)