Hi there, I’m getting a crash every time I try closing my game and when researching that I found out that it can be related to having memory leaks.
I added Unity’s Memory Profiler to the project and tried profiling back in the menu after having played through the game (So most things should have been removed from the memory)
There’s a ton of Pathfinding.Connection[] and Pathfinding.TriangleMeshNode in the memory even though at that point there isn’t even an AStar Pathfinding game object in the scene. Am I doing something wrong when changing scenes?