Search Unity

explosion_asteroid(Clone)

Discussion in 'Scripting' started by Arzacks, Dec 25, 2016.

  1. Arzacks

    Arzacks

    Joined:
    Dec 23, 2016
    Posts:
    37
    Hello,

    I'me currently working on the space shooter tutorial, and after that I destroy an asteroid, a "explosion_asteroid(Clone)" appears in my Hierarchy and on the screen game and does not dissapear.
    This is the first time i come up with a bug like this and have no clue of how to fix it. Could you help me please ?
    My DestroyByContact.cs is exactly the same as in the tutorial. I don't really know what info you want me to give you to help you help me, so if you need anything just ask !

    Thank you.
     
  2. gorbit99

    gorbit99

    Joined:
    Jul 14, 2015
    Posts:
    1,175
    That means this is a real object, not just a ghost one some people had to deal with some time ago, could you post every code that has something to do with asteroid either by creating them, destroying them or something?
     
unityunity