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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
This is a duplicate of issue #1337939