A* Pathfinding Project

PathReturnQueue.cs ReturnPaths profiler mismatch


Profiler.BeginSample(“Calling Path Callbacks”);

Profiler.EndSample(); is not called from the return statement.

// At least 5 paths will be returned, even if timeSlice is enabled
if (counter > 5 && timeSlice) {
counter = 0;
if (System.DateTime.UtcNow.Ticks >= targetTick) {



Thank you for reporting this. It has already been fixed in the current beta version and will be included in a stable version soon.