Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How do I fix a broken NavMeshAgent?

Discussion in 'Navigation' started by Finn455, Jun 23, 2023.

  1. Finn455

    Finn455

    Joined:
    Nov 10, 2022
    Posts:
    1


    I've been working on this project for Uni and my copy of unity randomly crashed whilst I was adding a second box collider to detect when the enemy got hit with a bullet. I lost a bunch of work and got close to where I was before it crashed. I tested my scene and the enemy character (the blue square) has stopped moving towards the red square like it did before the engine crashed (the player characters are on an array so that I can make the enemy character go after the other player character when the other is dead).
     
  2. androvisuals_unity

    androvisuals_unity

    Joined:
    Mar 23, 2020
    Posts:
    47
    What's your actual question?
    It looks like you haven't been using version control otherwise you could have replaced the broken unity file with a working one.