Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4
2020.1
2020.1.0f1
2020.2
Issue ID
1267503
Regression
No
[WebGL] [Unity Physics] JobTempAlloc warnings and Memory access violation errors are thrown when entities are colliding
Reproduction steps:
1. Open the attached project ("case_1267503-WebGL-ECS-crash.zip")
2. Switch build target to WebGL
3. Build and run the project
4. Open browser's console and inspect the logs
Expected result: No warnings/errors are thrown
Actual result: JobTempAlloc warnings are thrown each time sphere collides with the plane, and after a while "Memory access violation" error is thrown and build crashes
Reproducible with: 2019.4.8f1, 2020.1.2f1, 2020.2.0a20
Couldn't test with: 2018.4 (ECS is not supported)
Tested with package(Unity Physics) versions: 0.4.0-preview.5, 0.4.1-preview
Notes:
1. The issue does not reproduce in Editor, or Windows Standalone (Mono) builds
2. IL2CPP build crashes on launch because of missing imports
-
Resolution Note (2020.2.X):
An issue with the job system related to single threaded platforms was causing this crash, and has been resolved.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1254779