Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X



Found in



Issue ID




Project build fails and errors are thrown when building for WebGL platform with Exceptions disabled



Reproduction steps:
1. Open the attached project ("")
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

  1. Resolution Note (fix version 2022.1):

    Fixed in Unity 2022.1.0a5 and above

Comments (2)

  1. mickfcna

    Jul 07, 2022 12:27

    The problem is still present on Unity 2021.3.5

  2. 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

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.