IndexOutOfRangeException in Span.cs and NullReferenceException in HierarchicalGraph.cs

  • A* version: 4.3.92
  • Unity version: 2022.3.57f1

Sometimes, when our game loads in assets, we get a number of errors that pop up, as shown in the screenshots. I read the IndexOutOfRangeException post and upgraded to a newer Unity version, but I still occasionally see these while loading a complex setup with a lot of game objects containing navmesh cuts and forcing updates in certain areas. Any general ideas on how to avoid these?


Hi

I’d recommend upgrading to the latest version of the a* package.