Hello All!
I’m trying to stream levels. I had no issue in 2.6.1 but I cannot seem to get it to work in 3.0 with large levels.
Here is my code:
void LoadLevel(string loadingLevel)
{
Debug.Log(“++++++++++++++++++++++++++++++++++++++LoadLevel: " + loadingLevel);
if (Application.CanStreamedLevelBeLoaded(loadingLevel))
{
Debug.Log(”++++++++++++++++++++++++++++++++++++++Streaming LoadLevel: " + loadingLevel);
Application.LoadLevel(loadingLevel);
}
else
{
Debug.Log("++++++++++++++++++++++++++++++++++++++Cannot Stream LoadLevel: " + loadingLevel);
}
}
It seems to work on my tiny scenes (ones that are only about 5mb) but the larger ones (13mb) seem to fail. They are in the build settings so it is not because of that. I am checking “Stream” for the WebBuild.
My question is, why would I not be able to stream a level and how do I fix it to make it stream?
Thanks!