I
I
i__egor2020-06-04 19:18:54
Unity
i__egor, 2020-06-04 19:18:54

How to use navmesh unity navigation if map is generated dynamically?

How to use unity's navmesh navigation if the map is created dynamically during the game. As I understand it, you need to download and use NavMeshComponents. For example, I tried this: generated a mesh, hung a NavMeshSurface on it, executed: surface.BuildNavMesh(); gives errors like: RuntimeNavMeshBuilder: Source mesh Plane139 does not allow read access. This will work in playmode in the editor but not in player UnityEngine.AI.NavMeshSurface:BuildNavMesh()
Has anyone done this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-06-04
@freeExec

Allow in mesh Read/WriteI think it's a bug.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question