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.
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);
}
}
}
Hope you can help. Because it is diffcult if you have so many log messages in the console.
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.
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);
}
}
}
Hope you can help. Because it is diffcult if you have so many log messages in the console.