Quantcast
Channel: Latest Questions by Kaputnik88
Viewing all articles
Browse latest Browse all 21

Unity 5 Garbage Collection Spikes

$
0
0
Hi all, Just today my game has started to suffer from a garbage collection problem. Now I have heard of course that large scale creation and/or destruction of gameobjects and arrays and such is the main reason for this but heres the thing. It was running perfectly beforehand and I made no changes to the game at the point where this happened. As a test I commented out all the update functions of the game so that it is intialised but then nothing happens and yet I still get the same spikes. My understanding would be since I am not creating or destroying any gameobjects, nor manipulating any variables,there should be little to no garbage collection to do and yet it still happens. This is driving me crazy, any advice beyond the aformentioned?

Viewing all articles
Browse latest Browse all 21

Trending Articles



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