Search Unity

Navmesh Agent Sinks

Discussion in 'Navigation' started by KoFree, Jan 2, 2019.

  1. KoFree

    KoFree

    Joined:
    Feb 19, 2017
    Posts:
    9
    Please help.

    I have spent hours scouring the internet and forums, but am unable to find the answer to why my Navmesh Agent Freezes & Sinks on play.

    When I hit play every model (except the Player ), freezes and sinks to his waist (not all the way). I am working in 2018.2.0b9 on a terrain.

    Thank you in advance for any advice you can give!

    Screen Shot 2019-01-02 at 9.06.56 AM.png Screen Shot 2019-01-02 at 9.07.09 AM.png
    Screen Shot 2019-01-02 at 9.11.00 AM.png
    Screen Shot 2019-01-02 at 9.29.41 AM.png
     
    Last edited: Jan 3, 2019
  2. imaginationrabbit

    imaginationrabbit

    Joined:
    Sep 23, 2013
    Posts:
    349
    That looks like what happens when you apply the wrong animation type- So if your character is a "humanoid" type and you apply "generic" animation to it or vice versa-
     
    DoobyWebster and PixellPat like this.
  3. KoFree

    KoFree

    Joined:
    Feb 19, 2017
    Posts:
    9
    BINGO!!!! 2 days of pulling out my hair. You nailed it! Thank you - So very Grateful!
     
  4. JuozasK

    JuozasK

    Unity Technologies

    Joined:
    Mar 23, 2017
    Posts:
    84
    Also, make sure to turn on "Kinematic" on your rigidbodies that have a Navmesh agent component as well
     
  5. santhosh165

    santhosh165

    Joined:
    Jun 24, 2019
    Posts:
    1
    If not solved yet... Try this, and it worked for me.
     
  6. BangingRocks

    BangingRocks

    Joined:
    Jun 19, 2018
    Posts:
    4
    When this happened for me I needed to change the Nav Mesh Agent's Base Offset. Worked like a charm.