Search Unity

NavMesh : Load baked NavMesh.asset at Runtime

Discussion in 'Editor & General Support' started by Daylightsburning, Oct 24, 2013.

  1. Daylightsburning

    Daylightsburning

    Joined:
    Oct 24, 2013
    Posts:
    15
    Hi everybody,

    Is it possible to load baked NavMesh.asset at Runtime?

    So far its ok to load NavMesh.asset via Resources.load, and loaded object type is exactly the type of UnityEngine.NavMesh, but how to make game aware of this newly loaded NavMesh?

    I tried to Instantiate it with no luck(Instantiate itself was succeeded though).

    Thanks in advance.
     
  2. kjuanlu

    kjuanlu

    Joined:
    Dec 4, 2011
    Posts:
    100
    I´m interesting on this feature.

    I have different difficultiesf or a mini-game, and I would like to manage all on the same scene instead of create a scene per difficult.

    Regards
     
  3. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,264