Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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?