decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

TaskSet - Reduce severity of Debug_EnsureNoDuplicateJobSchedulingDelegates #208

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

Reduce the severity of the TaskSet.Debug_EnsureNoDuplicateJobSchedulingDelegates assertion.

Details in #196

What is the current behaviour?

TaskSet incorrectly prevents multiple instances of a task driver from listening to the data on a different, single, task driver instance's stream.

What is the new behaviour?

TaskSet allows the issue described above. If ANVIL_DEBUG_SAFETY_EXPENSIVE is present it will issue a warning but since there are valid cases for the pattern at the moment it doesn't halt execution with an exception.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?