- Home /
Garbage tracking without profiler?
Hello everyone
Not having the profiler in the free version is really bad, but at least there are some rudimentary mechanisms to do script profiling such as printing timing info. But what about finding source of garbage? Printing System.GC.GetTotalMemory() does not help at all. It is not updated instantly when an allocation occurs and it seems to be updated at random intervals. So the only thing this function tells me that there is a huge amount of garbage generated (several MB per second), leading to large GC spikes every now and them. I am working with a large framework which makes it impossible to simply guess where the major sources of garbage are located. I can't simply do trial and error with such a large code base, I need a systematic approach. The profiler is out of reach for me since I don't have a company budget as a private person.
To summarize: is it possible to search for garbage sources without the profiler?
Answer by Bunny83 · Apr 30, 2018 at 10:10 PM
Uhm Unity doesn't have any feature differences between the different licenses for quite some time now. The only thing that remains is that you can't remove the splash screen from the personal edition. The profiler can be used by any license since I think Unity 5.x
Thanks, figured it out just a couple of $$anonymous$$utes before. I had resumed an old project which was on ice for a couple of years so I missed the inclusion of the profiler. And all these search results with people complaining about the missing profiler made me believe it was still missing.
Your answer
Follow this Question
Related Questions
Prevent 'Cleaning up leaked objects' 1 Answer
How can I modify a Mesh object's uv variable directly? 1 Answer
large sudden profiler spike 0 Answers
CPU being choked by GC.MarkDependencies 1 Answer
Native Mesh Access 1 Answer