From what I understand (which is little at the moment) this error is thrown when you attempt to read or write to an element of an array in your job other than the one indicated by Index ... this only applies to Read/Write data e.g. if its read only your fine.
e.g. if
NativeArray myData;
and
Execute(int index) where index == 0
then
int i = 2;
myData[i] <-- this will throw the error because we are accessing element 2 when on index 0
I think you can get around it for read only data e.g.
[ReadOnly]
NativeArray myData;
wont throw the error
↧