Quantcast
Channel: Questions in topic: "unloadunusedassets"
Viewing all articles
Browse latest Browse all 85

Unloading scenes after ServerChangeScene

$
0
0
Hi! I've been messing around with UNET for a couple of months now and it feels like I've finally gotten the hang of it. However I've found something (perhaps not entirely related to UNET) that I can't really find any information on. Everytime after I use ServerChangeScene on the NetworkManager, my logs seem to get spammed with "unloading X unused assets to reduce memory usage." It seems this process is repeated for the same few objects a ton of times and after the first time, it doesn't actually reduce the amount of objects in the scene. When I check it out in the Editor, the scenes pop up in my hierarchy (presumably the SceneManager doing its thing), and there's a ton of not loaded duplicates of the level I'm trying to load, rapidly being removed from the hierarchy. This takes a bit of time which I want to shave off. Did anyone have the same problem and a viable solution to it? I've attached a screenshot of how it looks in the hierarchy. ![alt text][1] [1]: /storage/temp/67608-unloading-scenes.png

Viewing all articles
Browse latest Browse all 85

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>