Search Issue Tracker

By Design

Votes

21

Found in

4.3.0f1

Issue ID

572719

Regression

No

The new WWW.bytesDownloaded feature completely freezes Unity

Networking

-

Reproduced on 4.3.0f2

The new WWW.bytesDownloaded feature completely freezes Unity until the download completes.

This feature was added per Case 459257 as a way of querying download progress as the download is happening.

---Steps to reproduce:---
I've put together a test scene called Test BytesDownloaded (under the folder of the same name). If you open that, look at the camera, uncheck the "Use Bytes Downloaded" checkbox on the Test Bytes Downloaded script, and run it, you'll see 10 frames of input, each printing the time of the frame and whether the download has finished. I used a 200 MB download as a test, and 10 frames of output, so it shouldn't finish in that time.

Now change the "Use Bytes Downloaded" checkbox to true. Hit run. Unity will completely lock up for as long as it takes the download to complete (~10 second on our network, probably much longer for you). When the download finally completes, you'll see 10 frames of output. All frames will show "done: True".
-----
P.S.: You can ignore the stuff under the Load Texture folder - that was from an earlier bug report.

Comments (10)

  1. wangzj89

    Nov 19, 2018 10:49

    Same in unity 5.6.4f1

  2. yanhui

    Dec 13, 2017 07:12

    Still persent in Unity 5.4.0p2

  3. Rbhaniwal

    Mar 18, 2016 10:24

    Please fix it.

  4. Doreamon

    Jan 16, 2016 10:23

    The same is for Unity 5.3!

  5. llq664301573

    Sep 29, 2015 10:05

    I has same problem in unity 5.2.1f1

  6. Shkarface Noori

    Jul 27, 2015 14:39

    Still present in Unity 5.1.2p1

  7. TechCor

    Jun 13, 2015 07:53

    Still present in Unity 5.0.2.

  8. gdtiti

    Jun 08, 2015 16:00

    I has same problem in unity 4.6.1

  9. xuanyusong

    Sep 24, 2014 09:50

    I has same problem in unity 4.5.1

  10. Andrey-Postelzhuk

    Sep 23, 2014 10:26

    The same is for Unity 4.5

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.