- Home /
error when open downloaded file
 var www = new WWW(bundleUrl);
 
 Debug.Log("download on progress");
 yield return www;
 
 if (string.IsNullOrEmpty(www.text))
 {
 Debug.Log("download failed");
 }
 else
 {
 Debug.Log("download success");
 }
 
 #if !UNITY_WEBPLAYER
 File.WriteAllBytes(filePath, www.bytes);
 #endif
but why when i open the file, the file is error of format damage, by the way i download zip file

 
                 
                error-or-damage.png 
                (4.3 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                