IJobParallelFor In Rule Jobs

Hi,

For some reason i can’t sign in with google as usual so a new account is needed.

I’m writing a grid graph rule and like the example I am creating a job that implements IJob and INodeModifier. Is an IJobParallelFor supported because i can’t seem to get it working. I am updating, at worst, a 45x45 square of the grid graph and want to run an update job per row. I am getting errors around having many jobs that modify the same nav data that’s provided to me.

Thanks

Hi

Currently, you cannot use IJobParallelFor, however you can implement IJobParallelForBatched instead and use .ScheduleBatch. See Documentation