Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Need help with NavMesh in AR Foundation

Discussion in 'Navigation' started by it_master, Aug 1, 2020.

  1. it_master

    it_master

    Joined:
    Jul 25, 2015
    Posts:
    12
    I am creating a NavMesh in runtime so that I would be able to create a path for the enemy AI, the problem however is that while the NavMesh generation worked outside of AR, inside of it, things got a bit glitchy as even though I made sure that the Nav Mesh Generation is run every frame, the error that theAgent can't be created because the agent is not near to the NavMesh still exists, even though the error didn't appear outside of AR.

    How do I make sure that the Navmesh is created near the NavMesh Agents?

    Thanks in advance.
     
unityunity