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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
This is a duplicate of issue #1337939