Hi, I have an issue when using the WWW.LoadFromCacheOrDownload function in WebGL. The filename get cut from the URL.
Debug.Log("URL : " + URL);
WWW www = WWW.LoadFromCacheOrDownload(URL, m_Version);
yield return www;
if (www.error != null)
{
Debug.Log(www.error);
if (i_Callback != null)
i_Callback(null);
}
With that code, I get something like this :
URL : https://MyGameAddress/Release/template_WebGL.unity3d
index.html:29 starting www download: https://MyGameAddress/Release
WebGL.js:5840 GET https://MyGameAddress/Release 404 (Not Found)
and if I try to access the file at https://MyGameAddress/Release/template_WebGL.unity3d
I can see the file is there. Is there something wrong with WWW.LoadFromCacheOrDownload in WebGL? or maybe my url need to be written in a different way?
I am using unity 5.0.0b21.