Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

What these property mean in Profiler

Discussion in 'Editor & General Support' started by duotemplar, Jan 13, 2015.

  1. duotemplar

    duotemplar

    Joined:
    Dec 30, 2010
    Posts:
    26
    I read the doc, but still some confuse about these properties in Unity's Profiler
    For example, in Memory profiler
    Textures: 146/1.6MB, the "146" mean what? Number of textures in my project or the textures load when I start my app in playmode?
    The same question about "Total Objects in Scene", "Total Object Count", "Asset"
    The online doc about profiler doesn't say everything much more, and even there is some proerties it has not a doc explain.

    Pls, sb can explain these properties more clear?
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    146 is the number of textures that Unity profiler saw used in the current frame.

    Total Objects in Scene is the number of objects that you're controlling. Total Object Count includes all the objects that Unity knows about, so includes managers and so on (that you have no knowledge of). Assets are, well assets, like textures and audio and all the things that your scene is going to need.
     
  3. duotemplar

    duotemplar

    Joined:
    Dec 30, 2010
    Posts:
    26
    Thanks for explain!
    (1)but I test these in an empty scene, there is only a maincamera in the scene. And only two texture in my project.So where come from so many textures?
    (2)"Total Object Count" mean all asset in my project, whether them will be loaded or not in runtime?Do I understand right?
     
  4. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    (1) There are many other textures, including ones that Unity has for splash screens, icons, etc.
    (2) No, not all the assets in your project. All the objects in your scene, and all the objects that Unity has under the hood to make everything work.