Unity Issue Tracker - Web Player with UnityWebRequest fails to load on Firefox browser when Compression Format is set to Brotli
Closed
UUM-17795
Web Player with UnityWebRequest fails to load on Firefox browser when Compression Format is set to Brotli
Unity: Web Platform
WebGL
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.3.X
2022.2.X
2022.1.X
2021.3.X
2021.2.X
This issue will be tracked on the other port for 2021.3 since we don't support 2021.2 anymore
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:
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
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:
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
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
Prioritise and Follow this issue
Have a workaround or additional info about this issue?