How do I put sourcemesh outside the Resource folder so I can use it as an AssetBundle?

Hi Aron_granberg, I need to ask you about putting Sourcemesh in resources folder.I have A lot of scenes and I used the Navigation mesh that comes with Unity. Now I want to replace the navigation mesh in these scenes with A* PathFinding.All of my previous scenario resources were updated online using assetBundle.If I put sourcemesh in the Resources folder, I would have problems loading.How do I put Sourcemesh outside?Looking forward to your reply.

Hi

You can assign a mesh to a Navmesh Graph using a script if you want.

AstarPath.active.data.navmesh.mesh = ...
AstarPath.active.Scan();