Instaniate Spawn not working

8571971--1147733--upload_2022-11-8_19-42-1.png
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.

woeps, seems like it tried to dupplicate a class it wasn’t supposed too!
After this it working again…