Search Issue Tracker
Duplicate
Votes
3
Found in
2021.2.0a17
Issue ID
1336357
Regression
Yes
WebGL build fails when using Newgrounds.io package
How to reproduce:
1. Open the attached project "WebGL.zip"
2. Switch Build Platform to WebGL
3. Build And Run
Expected result: Build is successful
Actual result: Build failed with errors
Reproducible with: 2021.2.0a17
Not reproducible with: 2018.4.35f1, 2019.4.27f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a16
Comments (1)
-
Sponge2k
Jun 21, 2021 12:34
The problem (as described in https://forum.unity.com/threads/possible-webgl-build-bug.1111933/) still exists in .a21. Quick temporary fix to make it work:
Copy contents of 2021.2.0a21\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools to your project directory (one dir above assets). Takes about 1.1GB (and makes your project contain a lot of other directories) - but at least you can test things.
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1337939