c# - Yield return request never returns -


currently i'm having problem courotine. yield return never goes anywhere.. doesn't want return in webplayer build. in editor works fine, no problems yielding @ all. ienumerator i'm starting.

public ienumerator createchannel(string channelname) {     string urlrequest = "http://hiddenforsecuritypurposes.com/game/addchannel.aspx?channelname=" + channelname;     www request = new www(urlrequest);      yield return request;     //it never reaches here.. runs ienumerator, yield return never returns itself.      print("it got yielded"); } 

again, quick note. work out in editor, not in webplayer, i'm exporting game to.

is webplayer , domain trying reach on same url/server? if not, need put crossdomain.xml root of server trying reach. in case http://hiddenforsecuritypurposes.com/crossdomain.xml


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -