Profiler - Memory shows 173 Ref count for one material used on one object

In our game, we have a long, complicated level. In that level is one basic object in the scene, it’s just a single quad with a material attached. There is only a single one of these in the entire level, but the Memory Profiler says it has a ref count of 173, and it seems to be referenced by almost everything in the scene, though as far as I can tell it isn’t actually referenced by these things.

Does anybody have any ideas why the Ref Count is so high? Can we even trust the Ref count, or does it maybe mean something other than what I think it means? We are seeing this both when running the profiler on the Unity Editor, and when the profiler is connected to our game running on an iPad (though the large numbers are different between the two).

I have the same remark about my game. I have some GameObjects that has a high ref count like every object in the scene have a reference to it. Is it normal ? Did you find why @Dreamwriter ?

I’m experiencing a similar issue on our game. We captured from an Android device and we have lots of reference counts we don’t understand with high values. We would like to know as well how much we should trust this value and the exact meaning.

EDIT: I found a potential reason in the forum section devoted to the profiler.

2 Likes