Search Unity

Why Is My Enemies Disappearing?

Discussion in '2D' started by brobrotothegogo, Aug 20, 2019.

  1. brobrotothegogo

    brobrotothegogo

    Joined:
    Aug 17, 2019
    Posts:
    8
    When there is like 6 enemies on screen they start disappearing, but they can still hit me. I made it so there z pos will remain the same and there is nothing that is making the sprite renderer false but it still keeps happening to me... Any help?
     
  2. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    227
    If you turn on the 3D view when you play the game, the enemies probably still there. Do you have the enemy follow player script?
     
  3. brobrotothegogo

    brobrotothegogo

    Joined:
    Aug 17, 2019
    Posts:
    8
    Yes i use A*