Script for unloading assets and textures?
Hi, so basically i have memory problems with my game it use so much ram about 3,5 GB and after about a 30minutes of playing my game it crashes. Last 3-4 days i was searching whole internet for some script that can Unload assets or textures but the only thing i found was some lines of code what people posted but that doesn't help me at all. So please please! Is there any good soul that can write some kind of that script and post it here? I'm som confused and angry because i cannot go further with developing my game. I cannot enjoy gameplay with my friends longer than 25-30 minutes because the game crashes every time for running out of memory. Here is the link to my game if you want to check it: http://gamejolt.com/games/thuglifealpha/61660
Thanks for any replies ! :)
Here's some photo of problem: