I've got a fairly simple basketball game. It has a basketball arena and some basket balls. I can move around and shoot at the hoop. Each time I create a ball, shoot it then destroy it after 5 seconds.
The first time I start the Unity Editor run it everything is great. Each time I run the game however the performance gets worse and worse. I need to stop and restart to test out my code changes.
Anyway after about 10-20 stops and restarts the performance drops off a cliff. It goes down to about 2 FPS. What am I doing wrong?
I suspect the video memory/resources are not getting freed in my NVidia Quadro NVS (135mg of memory). Has anyone seen this problem before? I'm using Unity 2.6.0f7 (29850).
Maybe it could be a PhysX problem as well as that runs in the video card too?
Please Help.
Thanks