Hey guys, I was using the default changing scenes script from the tuturial Loading Scenes | Learn PlayCanvas ,
However I found the VRAM are keep increasing when I change scenes for multiple times, it doesn’t hurt when I am using my computer, however when I run games on my iphone, changing scenes could cause Safari kill the tab due to high memory allocation.
So, I want to know how to unload all assets in the old scene when I am changing the scenes, I know assets.unload() could clear all VRAMs, but how could I get all assests in the scene?
Thanks in advance! This will help me a lot!