Firebase Storage (Unity) does not handle progress updates as expected

271 views
Skip to first unread message

Robert

unread,
Mar 15, 2018, 10:32:48 AM3/15/18
to Firebase Google Group
Hello there,

I tried using GetFileAsync() and GetStreamAsync() to download some video files.
The download starts immediately but my progress does not get updated WHILE the download is in progress.
After my file has been downloaded my console gets spammed by hundrets of progress updates but this should happen while the download is in progress, right?

I also tried the quickstart-unity sample project and there is the same behaviour.
When I start my download it is as if nothing happens for 20 seconds but in the background I can see my network is busy with downloading the file.
When the download is completed, my progress bar goes to 100% and all the log messages are fired in the console.

Can anybody give me any hints if this is a bug in the firebase sdk since I tried it inside a Coroutine, without Coroutine, tried multiple Firebase methods for downloading and
since the sample project does not work as well, I start thinking that this is a bug.

also the DownloadState.TotalByteCount property is always zero. I now have to explicitly fetch the meta data before starting a download just to get the totalByte value for every file.

Hope somebody can help me with that.

Unity 2017.3.1f1
Firebase 4.4.3 (latest)

Stewart Miles

unread,
Mar 15, 2018, 12:09:14 PM3/15/18
to Firebase Google Group
Hi,

We have a fix for this that will be released in our next SDK update.  In the meantime there isn't a workaround, hold tight and we'll have the patch out shortly.

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/42d220a4-515d-406d-a0de-4db4afbcba3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages