Hi!
I upgraded to latest beta and when I try to use UpdateGraphs method I get this error every time:
Exception while updating graphs:
System.OverflowException
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at Pathfinding.RecastGraph.PutMeshesIntoTileBuckets (System.Collections.Generic.List`1[T] meshes, Pathfinding.IntRect tileBuckets) [0x00011] in E:_GamesConcepts\Archers\Assets\AstarPathfindingProject\Generators\RecastGenerator.cs:629
at Pathfinding.RecastGraph.Pathfinding.IUpdatableGraph.UpdateArea (Pathfinding.GraphUpdateObject guo) [0x000b5] in E:_GamesConcepts\Archers\Assets\AstarPathfindingProject\Generators\RecastGenerator.cs:517
at Pathfinding.GraphUpdateProcessor.ProcessGraphUpdatesAsync () [0x00096] in E:_GamesConcepts\Archers\Assets\AstarPathfindingProject\Core\Misc\GraphUpdateProcessor.cs:331
UnityEngine.Debug:LogError(Object)
Pathfinding.GraphUpdateProcessor:ProcessGraphUpdatesAsync() (at Assets/AstarPathfindingProject/Core/Misc/GraphUpdateProcessor.cs:337)
System.Threading.ThreadHelper:ThreadStart()
The code I use is this:
Bounds bounds = new Bounds(transform.position, m_meshRebuildSize);
GraphUpdateObject lastGuo = new GraphUpdateObject(bounds);
lastGuo.updatePhysics = true;
AstarPath.active.UpdateGraphs(lastGuo);
It upgrades graph but also spams this message