Search Issue Tracker

Fixed in 2021.2.X

Votes

2

Found in

2020.2

2020.2.0b8

2021.1

2021.2

Issue ID

1288367

Regression

No

[WebGL] Incorrect loading progress is shown in the Player when Build files are compressed using Brotli

WebGL

-

How to reproduce:
1. Open the attached project
2. In the Publishing Settings, set the Compression Format to "Brotli" (Edit->Project Settings->Player->Publishing Settings)
3. Make a WebGL build
4. Open the built WebGL Player in a browser
5. Spam the refresh button

Expected result: Loading progress is shown iteratively
Actual result: Loading progress is not shown until it reaches 90%

Reproducible with: 2020.2.2f1, 2021.1.0b2, 2021.2.0a2
Couldn't test with: 2018.4.31f1, 2019.4.18f1 (Brotli compressed files don't have the ".br" file extension)

Notes:
- Web server should be configured to add correct encoding for *.br files
- Player loading progress with Brotli compression jumps from 0 to 90 percent

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.