Hey guys,
The code provided in the picture get triggerd 5 times, i know this cause of debugging.
For some reason it only spawns one enemie tho and im not sure why cause it was working before.
enemiesToSpawn is an scriptable object and the enemyObject is the prefab the prefab is loaded into the networkmanager.
I get no errors whatsoever.