Search Unity

Baking a NavMesh into a Prefab

Discussion in 'Editor & General Support' started by BrianCox, Jul 14, 2014.

  1. BrianCox

    BrianCox

    Joined:
    Jun 28, 2013
    Posts:
    1
    Dear Unity community,

    I would like to build a level at runtime using a random set of Prefabs on which enemies are walking.
    The problem I have is that I seem to be unable to save the NavMesh into a Prefab when I baked it.

    Is there a way to save the NavMesh I generated into a prefab or is there any other way I can attach it to a model?
    An alternative solution would also be welcome.

    Thanks in advance, I have checked google for this problem today but have not found a solution.

    Kind regards,
    BC
     
  2. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,657
    Unity's built-in navmesh doesn't support what you're trying to do.

    You'll need to use a third-party navmesh solution, or write your own.