Finding a path in a randomly generated environment

So I want to use this package, but my environment is generated at runtime. Unfortunately, I can’t find any good information about applying this package to randomly or procedurally generated terrain. Any recommendations?

I am doing something similar. Just getting started but my understanding is that once you have generated your terrain you simply call Scan on your AStarPath component.

Hi

Is your world infinite?
If so, take a look at the example scene called “Procedural”.

If not, you can do as AdamV suggests, just call
AstarPath.active.Scan()
After you have generated your environment.

You might want to uncheck A* Inspector -> Settings -> Scan On Awake to save some processing time as well (to avoid scanning things twice).