Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.3.X

Votes

1

Found in

2018.4

2019.1.8f1

2019.2

2019.3

2020.1

Issue ID

1204734

Regression

No

[URP][WebGL] "Memory access out of bounds" exceptions are thrown when calling "Quit" function on WebGL build through webpage

WebGL

-

How to reproduce:
1. Open the attached project ("case_1204734-UnityProject.zip")
2. Make a WebGL build
3. Modify the "Index.html" file to include a button which calls "Quit" function
4. Run the build, click the button and inspect the console.

Expected results: No exceptions are thrown
Actual results: "Memory access out of bounds" exceptions are thrown.

Reproducible with: 2018.4.14f1, 2019.2.16f1, 2019.3.0f3, 2020.1.0a17
Couldn't test with 2017.4, as it does not support LWRP/URP package
Reproducible with LWRP/URP package versions: 4.1.0 (2018.4), 6.9.0 (2019.2), 7.1.6 (2020.1)

  1. Resolution Note (fix version 2020.2):

    OpenGL ES: Fix use after free of m_Context in GfxDeviceGLES destructor, which resulted in "Memory access out of bounds" exceptions when quitting an application in WebGL builds.
    Fixed in 2021.1.0a2

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.14f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.29f1

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.