Search Unity

Enemies stopping at non existant wall

Discussion in 'Community Learning & Teaching' started by IronmanXXX, Jun 26, 2018.

  1. IronmanXXX

    IronmanXXX

    Joined:
    Aug 7, 2013
    Posts:
    11
    Hello,

    I am just messing around with the unity survival shooter tutorial.

    I have made the area bigger and moved the wall and level colliders.

    I am (the player) able to move to the expanded area but the enemies are stopping where the collider use to be.

    I have clicked on every object in my scene and do not see anything in that area that they should be stopping at.

    I have looked at the movement script and there is no logic stopping them from moving.

    I'm thinking maybe there is some kind of underlying mesh that didnt get resized with the rest of the ground or the old colliders are being remembered and maybe doing some sort of clean and rebuild will fix it.

    Any suggestions?

    Thanks.
     
  2. IronmanXXX

    IronmanXXX

    Joined:
    Aug 7, 2013
    Posts:
    11
    I messed around with it again last night.

    I started fresh.
    Loaded the tutorial brough up the completed scene dragged out the wall, floor, planks and base.

    I as the player can walk on the newly expanded area but the enamies stop.

    I tryed putting the enemy spawn point out in the new expanded area. Doing this causes the game to crash.
     
  3. IronmanXXX

    IronmanXXX

    Joined:
    Aug 7, 2013
    Posts:
    11
    I figured out my issue a couple of days ago.
    Have to rebake the navigation mesh (windows -> navigation)