Steps to reproduce:
1. Open the attached user's project "EntitiesGraphics_BOC_ConsoleErrors_2022_2_22f1.zip"
2. Open the "SampleScene.unity"
3. In the top menu go to "Jobs > Burst > Enable Compilation" and click to uncheck the box
4. Repeat step 3 several times
5. Observe console error:
IndexOutOfRangeException: Index 1 is out of restricted IJobParallelFor range [0...0] in ReadWriteBuffer.
ReadWriteBuffers are restricted to only read & write the element at the job index. You can use double buffering strategies to avoid race conditions due to reading & writing in parallel to the same elements from a job.
Expected results: no console error
Actual results: The editor console is spammed with errors
Reproducible on: Entities Graphics 1.0.11 (2022.3.4f1, 2023.1.2f1, 2023.2.0a21)
Could not test on 2021.3.27f1 due to Entities Graphics package being unavailable
Environment Tested on: Windows 10
Notes:
-Issue does not reproduce if Entities Graphics package is removed
Workarounds
-Disable Burst Occlusion Culling (remove define or from top menu click Occlusion > Enable to uncheck it)
-enable Burst compilation when using the editor