I'm trying to upload/download a zip file using PlayFab, but I can't get back the original file. Instead I get a 1KB file that cannot be processed.
I used the entity files code from the documentation and at the end of downloading I used this to write it to a file.
WWW www = new WWW(fileData.DownloadUrl); File.WriteAllBytes(Application.dataPath + "\\zipfile.zip", www.bytes); // I also tried using UnityWebRequest. No difference.
Any ideas about what's wrong, or if what I want to do is even possible?
Thanks in advance!