Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
2
Found in
2021.2.0b1
2022.1
Issue ID
1343976
Regression
Yes
Project build fails and errors are thrown when building for WebGL platform with Exceptions disabled
Reproduction steps:
1. Open the attached project ("WebGL_2021.2.0b_Test.zip")
2. Set the Enable Exceptions in Publishing settings as None: Edit > Project Settings > Player > Settings for WebGL > Publishing Settings
3. Build the project for the WebGL platform
Expected result: the project builds successfully, no errors are thrown
Actual result: the project fails to build, errors are thrown in the Editor's Console window
Reproducible with: 2021.2.0b1, 2021.2.0b2, 2022.1.0a1
Not reproducible with: 2018.4.36f, 2019.4.28f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0a21
Comments (2)
-
mickfcna
Jul 07, 2022 12:27
The problem is still present on Unity 2021.3.5
-
Bersaelor
Jun 28, 2021 23:21
Same happening for our project, it's rather unfortunate as we were really looking forward to the new beta builds
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
Resolution Note (fix version 2022.1):
Fixed in Unity 2022.1.0a5 and above