Search Unity

Enemies not spawning after loading level

Discussion in 'Editor & General Support' started by pocockn, Apr 17, 2014.

  1. pocockn

    pocockn

    Joined:
    Feb 6, 2014
    Posts:
    1
    Hi, I currently have two levels which both spawn enemies and then my user has to kill them all before he can complete the level. If i load both these levels separately the spawn feature works correctly. However if i completed level 1 and then use loadLevel to load level 2 my enemies stop spawning and its just my player on the map. Does anyone have any idea why this could be happening?

    Thank you! :eek:
     
  2. jerotas

    jerotas

    Joined:
    Sep 4, 2011
    Posts:
    5,572
    Not enough detail to tell...but you could buy our Core GameKit plugin, which has pooling, wave spawners, and a lot more, and doesn't have this problem. It's only $10 right now (normal price $45), and requires zero coding in most cases.