Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2018.4.X, 2019.4.X, 2020.1.X, 2020.2.X



Found in



Issue ID




[WebGL][macOS] Builds do not run when using Big Sur



How to reproduce:
1. Create an empty project
2. In the Build Settings, select WebGL
3. Build and run

Expected result: No errors are thrown
Actual result: UnityLoader.js throws an error

Reproducible with: 2018.4.29f1, 2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a1

  1. Resolution Note (fix version 2021.1):

    Fixed in Unity 2021.1.0a2 and above

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b12

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.21f1

Comments (15)

  1. jeffreylanters

    Nov 25, 2020 10:42

    Same here, happens on Chrome (all versions) only. Safari 14.0.1 seems to bypass this Regex.

  2. bradenroper

    Nov 24, 2020 15:00

    Is this issue only on the dev side? We have a lot of WebGL games that we build on Windows machines that are throwing an error when being played on Chrome in Big Sur. It would be nice to know if it's an issue with Chrome on Big Sur or the OS itself, because a lot of our Unity games were built with various older versions of Unity and were not planned for updates just yet.

  3. perplex_bcn

    Nov 24, 2020 14:46

    In UnityLoader.js find this text: /Mac OS X (10[\.\_\d]+)/.exec(i)[1];
    That's a regular expression. Replace 10 with 1[0-1]
    This way it will allow both 10 and 11

  4. Becreatives

    Nov 18, 2020 15:12

    And what is the solution?

  5. Stefterv

    Oct 23, 2020 05:51

    The regex checking for which fails because it does not expect the version number to start with 11.

    In this line:
    h = /Mac OS X (10[\.\_\d]+)/.exec(s)[1];

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.