Difference: Cache vs Saving Graph to file?


To start off, I did read the documentation but I’m still a little unclear on things.

My project uses procedural generation to create dungeons, but people will be able to replay previously generated instances. I figured it’d be best to save the graph (using a Recast graph), so it won’t have to be rescanned every time an instance is loaded.

So, my question: What exactly is the difference between the Cache and saving the Graph to a file. Can I do both at runtime or would one be better than the other in this situation? Any help would be appreciated, thanks :slight_smile:

There’s no difference. The cache is just a convenient way of doing the same thing.

1 Like