Hi Unity Braintrust,
Let’s say I’m deserializing a complex JSON object. It has several layers of nested children and the contained data is represented by a number of custom classes, in various types of containers (mainly List and Dictionary instances).
Knowing that this is created during the deserialization process, I’m confident that the nested data isn’t be referenced by anything else. IE the data is kept in scope solely by the virtue of the top level object existing.
Is there a way for the profiler to determine the total amount of memory being occupied by this object and its contained data?
We’re on Unity 2022.3 and the memory profiler window only gives a top-level count of each type of contained data. If we upgrade to 2023.1, will this section of the profiler window get me the information I need?