Memory Issues on quickly changing scenes
Hi Guys,
I've got a level map and I find if I jump in one level and then out to another level too quickly the 2nd level doesn't load all of the assets. If I wait a few seconds on the level map then the 2nd level loads the assets properly.
I think this might come down to an issue I've seen here discussed before where GS isn't automatically destroying all of the actors from the first level when I leave the scene so they're using up memory. I can try adding a destroy command to all of my actors on scene change, but I was wondering whether the new optimizations on GS will tackle this so I don't have to? Feels like something GS should take care of without us having to destroy the actors ourselves. If anyone has any insights here they'd be much appreciated before I start adding destroy commands I may not need.
Cheers,
HK
Comments
GS used to take care of this really well, but there's memory leaks now which are being addressed.
I'm hoping they're all in ok for the next release
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
That sounds promising! Thank you for the prompt response! I'll wait and see then. :-)
crosses his fingers, toes and eyes
crosses YOUR fingers, toes and eyes for you too
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Does anyone know if this ever got fixed? Does GS dump the memory on scene change now? Thanks!