Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDFE and DBFE writers - Disable safety and document issue #209

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

mbaker3
Copy link
Member

@mbaker3 mbaker3 commented Apr 13, 2023

Disable container safety restriction on CDFE and DBFE writers.

What is the current behaviour?

Using the JobPart pattern there are cases when a single job instance will have both readers and writers of CDFE or DBFE instances. Unity's safety system flags this as an issue since it thinks they are two separate jobs with concurrent read and write access.

What is the new behaviour?

Unity's safety system is disabled for the CDFE and DBFE writers. This is a temporary work around until #197 can be addressed.

In the meantime you're on your own to ensure you're not reading and writing to component data at the same time.

What issues does this resolve?

  • None

What PRs does this depend on?

Does this introduce a breaking change?

  • Yes
  • No

@mbaker3 mbaker3 requested a review from jkeon April 13, 2023 02:39
@jkeon jkeon self-assigned this Apr 13, 2023
Base automatically changed from cdfe-dbfe-libration to main April 13, 2023 13:32
@mbaker3 mbaker3 merged commit 6295c06 into main Apr 13, 2023
@mbaker3 mbaker3 deleted the writers-disable-safety branch April 13, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants