There are a few things that are making the AStarPath constantly dirty the scene when shown in the inspector. Here are the fixes I’ve applied locally to get it to stop:
In AstarSerializer.CloseSerialize, after adding the final entry and before saving, reset the timestamps of each entry:
` foreach(var entry in zip.Entries)
{
var epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
entry.AccessedTime = epoch;
entry.CreationTime = epoch;
entry.LastModified = epoch;
entry.ModifiedTime = epoch;
}`
In AStarPathEditor.SaveGraphsAndUndo, don’t dirty the scene on deselecting the object:
if (/*Event.current == null ||*/ script.astarData.GetData() == null) {
In AStarPath, don’t save the lastScanTime (doesn’t really help but it removes one source of superfluous changes to assets):
` [System.NonSerialized]
public float lastScanTime = 0F;
`