Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
cody_oxcutter's avatar
cody_oxcutter
Honored Guest
7 years ago

Oculus Go - downloaded file size limit 2Gb?

Hi,
I'm developing a small app that plays 360-3d videos with Unity3d  for Oculus GO. Since videos are pretty heavy, between 3 and 5 Gb, I'm downloading them on request at runtime. 
My problem is that I can't download them.
I tried using Android DownloadManager as recommended but every times, the download fails with a 1008 error code which means ERROR_CANNOT_RESUME, basically it could be anything.
I tried then using Unity plugin BestHTTP; still no luck. In this case, even if the download actually ended, the resulting file was always cut at 2Gb (checked with Android File Transfer). 
I tried again with BestHTTP but this time by saving the streamed file on chunks of 10 Mb and then merge them in a single file at the end but still no success; I got an exception stating "Win32 IO returned 25. Path: <path of my file>": Checking on Microsoft doc, states: "25 (0x19) The drive cannot locate a specific area or track on the disk." In this last scenario, peeking on the device with Android File Transfer I can see my merged video with a size of 2Gb and a bunch of chunks that were not merged due to the exception being thrown.
My last attempt was to download the file through Oculus browser but still no luck.

Long story short, is there some kind of file size limit on Oculus GO? How can I download a 3/5 Gb file within the app?
I actually tried sideloading the videos with Android File Transfer and I succeeded so there must be a way to download those files.

Cheers,
Cody