Search Unity

pull agent off of navmesh and put onto different navmesh

Discussion in 'AI & Navigation Previews' started by Drowning-Monkeys, May 9, 2017.

  1. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    Howdy,

    So basically what i'd like to do with the new system is lift my character off the ground, and change the ground beneath him, but when i additively load the new scene and place the prefab back on the ground, get the classic "Agent is not on navmesh" error.

    I've tried disabling and reenabling the agent, but no dice. How can i accomplish this?
     
  2. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    okay so this is interesting - if you are moving a mesh in 2 scenes, then unload scene 1 while both objects are still moving, the navmeshsurface moves off the mesh. any reason for that?
     
unityunity