Search Issue Tracker

Fixed

Fixed in 2021.3.15f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a18

Votes

2

Found in

2020.3.35f1

Issue ID

UUM-1149

Regression

No

UnityWebRequest buffers Http response in WebGL Player and sends all elements at once instead of one at the time

--

-

How to reproduce:
1. Open users’ attached project “WebApiTest.zip” in VisualStudio (Open "WebApiTest.sln")
2. Run the project (Browser window should open and print "Hello1<...>Hello10")
3. Open users’ attached project “WebGL Request Test.zip" in Unity
4. Open “SampleScene” Scene
5. Switch platform to WebGL and “Build and Run” the project
6. In the web Player click button labeled “Test“ (top left)

Expected result: 10 text lines to appear one at a time
Actual result: 10 text lines appear all at once

Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b14, 2022.1.

Notes:
- To observe the expected result after doing the first 4 steps enter the Play Mode and click GameObject “Button - Test”.

Comments (1)

  1. lokijki

    Jan 24, 2023 22:13

    This fix seems to have broken UnityWebRequestAssetBundle somewhat in WebGL builds, I think? I had remote bundles loading fine with Addressables.DownloadDependenciesAsync in 2021.3.14, but after upgrading to 2021.3.16 (also tried with 3.15) bundles consistently fail to decompress in builds, both with DownloadDependenciesAsync or using UnityWebRequestAssetBundle directly.

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.