Search Unity

NavMeshObstacle.Transform using performance even on static objects.

Discussion in 'Navigation' started by GloriaVictis, Feb 9, 2018.

  1. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    133
    Hello,

    We are spawning some of our buildings real time and we cannot afford rebaking navmesh realtime due to its poor performance. Thats why we are using navmesh obstacles at those buildings (there's quite a lot of them) and it makes a visible performance drop due to NavMeshObstacle.Transform on Update https://i.gyazo.com/25fac7b9320a3a9e5a0b8bf91f43fd06.png still all of those buildings after they spawn are not being moved anyhow and that's how their settings look: https://i.gyazo.com/11d306148d538ebd8ac15ee6ccd8b14d.png
    is there anything we are doing wrong?
     
    futurlab_peterh likes this.
  2. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    133
  3. ryanlin138

    ryanlin138

    Joined:
    Aug 28, 2019
    Posts:
    6
    I also have this problem