Profiler.GetRuntimeMemorySize always returns zero if you pass a Material or Animation. The Unity reference says this function supports those objects, but I haven’t had any luck so far. Textures, Meshes, and Audio are calculated correctly.
Question: Why can I not retrieve the memory size of Materials and Animations? Is this a bug? an oversight in the reference? Am I missing something? Thanks for reading my question.