Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

NavMeshAgent is going wonky dont know why NEED HELP

Discussion in 'Navigation' started by The_Maltha, Mar 23, 2022.

  1. The_Maltha

    The_Maltha

    Joined:
    Jun 6, 2021
    Posts:
    4
    So, I have this problem where my agent tries to go down a slope, when it reaches the end and turns the corner, it slightly hits outside the walkable area and then it just speeds of in a direction until it collides with a wall, and stops working until I manually moves it in the scene view.

    I added offMeshLinks so that it would always happen as you can see in the link https://imgur.com/a/GMWy84s
    (S***ty recorder)
    I tried to make all objects including the agents as navigation static, I've tried to see if pathAvailable is true which it always is. Changing obstacle avoidance radius, agent radius and everything else I could think of. Checking velocity and everything. I am at a loss.