Search Issue Tracker

In Progress

Fixed in 2022.1.23f1, 2022.2.0b15, 2023.1.0a18

Fix In Review for 2021.3.X

Unknown (hidden) 2020.3.X

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”.

  1. Resolution Note (2020.3.X):

    Unfortunately we cannot backport to Unity 2020.3 as that version of the WebGL runtime uses XHR for loading content rather than the newer fetch API which is used in Unity 2021.3+

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.