Hi guys,
I'm working on my first game in unity at the moment and loving playmaker (I'm not the greatest coder ever), however I have recently run into some performance issues around spawning enemy waves. Please forgive my ignorance if this is an easy fix
My game is a first person tower defense game that requires relatively large enemy waves. Currently I have the enemies created and deactivated. These get activated and placed when required. I am also hiding their meshes when outside the players view.
I get a large fps drop (70 down to around 20) whenever I activate an enemy that then jumps back up to normal and as more of them activate the fps drops more and more until it is unplayable. The most I have gotten active at once is 30ish before it crashes. The models are around 1500 tri's. I am also using Rain AI for their patching.
Would anyone have any idea how to prevent or atleast reduce these frame drops? If any more info would help please let me know.