Search Issue Tracker

Duplicate

Votes

3

Found in

2021.2.0a17

Issue ID

1336357

Regression

Yes

WebGL build fails when using Newgrounds.io package

WebGL

-

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)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.