How can I access a DyamicBuffer from a IJobParallelFor?

NativeDisableParallelForRestriction and NativeDisableContainerSafetyRestriction don’t seem to work.

You want to access to read, or also write into?
For writing [NativeDisableParallelForRestriction] should work. It works for me.

1 Like

It seems is was a bug or something it works after I restarted Unity, or maybe I missed something, thanks.