A* Pathfinding Project

Bug: use RichAI without RVO Controller will throw System.IndexOutOfRangeException


#1
  • just use an empty gameObject and only attach RichAI and Seeker.
  • drag it to the scene (same result for use script to Instantiate)

then will get the error output:

System.IndexOutOfRangeException: Index {0} is out of range of '{1}' Length.
Thrown from job: Pathfinding.RVO.RVODestinationCrowdedBehavior.JobDensityCheck
This Exception was thrown from a job compiled with Burst, which has limited exception support. Turn off burst (Jobs -> Burst -> Enable Compilation) to inspect full exceptions & stacktraces.

please check the video for more info:


the screen already attached RVO Simulator

Environment:

OS: Mac
Unity: 2019.3.3f1
A* Project : 4.3.14
Burst: 1.2.3
Entities: preview.24 0.6.0


#2

Thanks!
I have fixed this issue in my dev version. The fix will be included in the next beta update.

From what I can tell it should only happen if you also have an RVOSimulator in your scene.


#3

I have now uploaded beta version 4.3.15 which fixes this issue.