Hi all, I’m attempting to use the WWW class to get a large XML file in a background thread. I get the following error:
UnityEngine.WWW:InitWWW(String, Byte[ ], String[ ])
UnityEngine.WWW:.ctor(String, Byte[ ], Hashtable)
UnityEngine.WWW:.ctor(String)
Walls:GetWallsFromServer() (at Assets/Scripts/Walls.cs:94)
Not sure how to interpret that since it seems to point to an internal initialization problem. Is it not possible to use WWW outside of the main thread? If not, why is it this way Unity folks? This is the type of thing that should definitely be able to run outside of the main.
Thanks!