Search Unity

A specific Navmesh agent stopped working

Discussion in 'Navigation' started by Ragatto, May 26, 2021.

  1. Ragatto

    Ragatto

    Joined:
    Sep 24, 2015
    Posts:
    3
    Hello.

    It is a week I'm losing my mind... I reported this to Unity too.

    That's weird indeed.

    I'm making a boss fight, ok? At a certain point, when I edited the map to try it in a new level design context, it stopped working.

    After I modeled the map, I set new static meshes, so I needed to rebuild\bake the navmesh... the result is a failure: now only that specific Gameobject's Navmesh doesn't follow the player anymore, and I made just ONE bake.

    I tried to make the same FSM in a new game object: it works, so the boss is the only go that refuses to work.
    Moreover, I tried to deactivate FSMs in the boss and make it from the script. The boss still doesn't move.

    Navmesh was baked and the object has a Navmesh component attached to it, also the parameters are ok, so at this point, I don't know what to think...

    Unity version: 2019.4.17f I'm using Behavior designer and Playmaker. Playmaker was working perfectly in my older projects... now with the latest version (2019 and after), mistakes are happening.