Search Issue Tracker

Duplicate

Votes

1

Found in [Package]

0.7.0-preview.19

Issue ID

1222126

Regression

No

[ECS] Safety restrictions on ArchetypeChunkBufferType are not disabled when using [NativeDisableContainerSafetyRestriction]

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached project ("case_1222126-NativeDisableContainerSafetyRestriction.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Inspect Console

Expected result: No errors/exceptions are thrown
Actual result: "InvalidOperationException: The previously scheduled job BugSystem:BugJob writes to the UNKNOWN_OBJECT_TYPE BugJob.Data.Type" exception is thrown

Reproducible with: 2019.3.6f1, 2020.1.0b2, 2020.2.0a2
Couldn't test with: 2017.4, 2018.4 (package not supported), 2020.2.0a3 (ECS package errors from deprecated method calls)
Reproducible with package versions: 0.3.0-preview.4, 0.7.0-preview.19

Add comment

Log in to post comment