Hi I deleted accidentally my Prefabs folder. I Returned all prefabs manually from GameObjects but after fixing my game running it problem. See attached pic. Unity is copying my Enemies like 100 per sec and my Unity stops working … What can be causing that ?
Hi,
Take a look at your code that is instantiating the enemy prefabs, you’ve got a cyclic behaviour going on there. Unity stops running because its out of memory.
Hi ! I agree, I had all enemy scripts under enemy , even enemyspawn belongs to under enemies. Fixed now and working.
Regards
Sakari
2 Likes
Glad to hear you’ve resolved the issue and can move forward again Sakari
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.