Hello, I have an editor script that does some scene validation in EditorSceneManager.sceneSaved callback. Basically it validates if waypoints I placed are on the navmesh graph, and to ensure the path is always loaded I call
FindFirstObjectByType<AStarPathManager(FindObjectsInactive.Include).LoadGraphFromAsset()
However, this resets changes I made to the scene such as the Edge Simplification value. Is there a proper way to do this without it resetting? I tried OnSceneSaving, and also Editor Coroutine delaying the call by a second, which it still resets it back.