Search Issue Tracker

By Design

Votes

0

Found in

2019.1.0a1

2019.2.0a1

2019.2.0f1

2019.3.0a1

Issue ID

1175325

Regression

No

Errors are thrown when 2 or more QuadrantDataHashMapJobs are working at the same time

Scripting

-

Steps to reproduce:
1. Open user's attached project "Legends (2019 HDRP).zip"
2. Open "ECS Test" scene
3. Enter Play mode
4. Notice the errors in the console "InvalidOperationException: The previously scheduled job ObstacleQuadrantSystem"

Expected results: 2 or more QuadrantDataHashMapJobs can run at the same time
Actual results: Only one QuadrantDataHashMapJob runs at a time

Reproducible with: 2019.1.14f1, 2019.2.3f1, 2019.3.0b1

  1. Resolution Note:

    Safety system is type-based. Same type is being written, therefore safety system concludes they may alias.
    Resolution is to either use different types or use attribute `[NativeDisableContainerSafetyRestriction]` to disable safety checking on job field if you are confident it can never alias.

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.