Search Issue Tracker
Active
Planned for 2019.4
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
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)
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
- Shadows are not cast when you first Blit the Shadow map and then set it back to Buffer
- Changes to instanced detail mesh material don't immediately apply
- [uGUI] Vertices retrieved from GetUIVertexStream method cannot be modified when adjusting them through script
- Scroll bar scrolls less in the Package Manager packages than elsewhere when pressing on the empty scroll bar area to scroll
- Undo.RegisterCreatedObjectUndo dirties the scene, but no actual changes to Scene are made
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