Just wanted to share my current experience. I update Unity to 2020.2.0b14 and then I started getting errors like these in a project that previously worked fine:
Library/PackageCache/com.unity.dots.editor@0.10.0-preview/Editor/EntityHierachy/DataDiffers/EntityDiffer.cs(255,41): error CS0019: Operator ‘+’ cannot be applied to operands of type ‘Chunk.e__FixedBuffer’ and ‘int’
These errors disappeared when I update the dots editor to 0.11.0-preview.3, but now I’m getting new runtime errors:
IndexOutOfRangeException: Index 4 is out of restricted IJobParallelFor range [0…3] in ReadWriteBuffer.
Which of course sounds logical enough, but it’s impossible to pinpoint where this happens, it’s from my own custom physics system that has quite a bit of code, that then gets rewritten into a bunch of lambadjobs, and those are huge in themselves.
Does anyone have a good strategy to figure out where an error is, the only strategy I can think of is commenting our code until it works, but that’s not really ideal.
Thanks