andyburke / UnityHTTP

A TcpClient-based HTTP library for Unity.
GNU General Public License v2.0
593 stars 147 forks source link

"you must use the Request synchronously, since Unity's main update loop is not running" #47

Closed cmisztur closed 9 years ago

cmisztur commented 9 years ago

This actually is not true. It is true that Time.deltaTime does not change but there are ways around it.

UnityEditor.EditorApplication.update += this.Update;

in combination with...

UnityEditor.EditorUtility.SetDirty(x)
andyburke commented 9 years ago

I would welcome a PR that would allow something like this to happen automatically if not in play mode. But for now, I'm going to close this issue since it would require the user to effectively handle the update themselves.