Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.2.X, 2023.1.X

Unknown (hidden) 2021.2.X, 2022.1.X

Votes

0

Found in

2021.2.0b2

2021.3.12f1

2022.1.21f1

2022.2.0b12

2023.1.0a16

Issue ID

UUM-17795

Regression

Yes

[WebGL] Web Player with UnityWebRequest fails to load on Firefox browser when Compression Format is set to Brotli

--

-

Steps to reproduce:
# Open the attached project “WebApiTest.zip” in VisualStudio (Open "WebApiTest.sln")
# Run the project (Browser window should open and print "Hello1<...>Hello10")
# Open the attached Unity project “FireFoxErrors.zip"
# Switch to the WebGL platform
# Build and Run on the Firefox browser

Expected result: The web player is successfully launched in the browser
Actual result: The web player is not loading up, and an error message is thrown:
{code:java}
TypeError: e is undefined
createUnityInstance/l/</<@http://localhost:50174/Build/Test1.loader.js:1:5768
promise callback*createUnityInstance/l/<@http://localhost:50174/Build/Test1.loader.js:1:5745 {code}
Reproducible with: 2021.2.0b2, 2021.3.12f1, 2022.1.21f1, 2022.2.0b12, 2023.1.0a16
Not reproducible with: 2020.3.41f1, 2021.1.26f1, 2021.1.28f1
Could not test with: 2021.2.0a21, 2021.2.0b1 - due to errors when building:
{code:java}
Building Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/wcpu_Interop.o failed with output:
/bin/sh: /usr/bin/python: No such file or directory
{code}
Notes:
- The issue is not reproducible on Google Chrome, Safari
- The issue is not reproducible if Compression Format is set to Disabled or Gzip
- Tested and reproduced with Firefox 106.0.1 (64-bit) on Windows 11 and MacOS version: 12.6

  1. Resolution Note (2021.2.X):

    This issue will be tracked on the other port for 2021.3 since we don't support 2021.2 anymore

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.