Seek Transform - stop Debug.Log messages in console

MagicTimm

Member
Hi,
how can I stop this? The log is created in AstarPath.cs


At the gameobject with the AstarPath.cs attached on it is not possible to active or deactive Debug.
1662220750075.png
If I comment out in this function (in AstarPath.cs) the last Debug.Log and start the game it's not longer comment out. Havent' seen this before.

private void LogPathResults (Path path) {
if (logPathResults != PathLog.None && (path.error || logPathResults != PathLog.OnlyErrors)) {
string debug = (path as IPathInternals).DebugString(logPathResults);

if (logPathResults == PathLog.InGame) {
inGameDebugPath = debug;
} else if (path.error) {
Debug.LogWarning(debug);
} else {
Debug.Log(debug);
}
}
}


1662220586948.png
1662220619863.png

Hope you can help. Because it is diffcult if you have so many log messages in the console.
 
That's coming from the A* Pathfinding Project so I recommend posting this question on their forums.
 
The solution is to set Path Logging to "Only Errors"

Maybe someone else has the same problem. Here is the solution :)
1662665062361.png
 
Top