Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.2.0b2
2021.3.12f1
2022.1.21f1
2022.2.0b12
2023.1.0a16
2023.2.0a1
2023.3.0a3
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
Resolution Note:
Thank you for reporting a bug to Unity.
This issue doesn't reproduce after a fix that was done by Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1829309).
Today we will be closing this case. Thank you again for taking the time to report this issue.