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

WebGL

-

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

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

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.