Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

No Name Object In Memory Profiler

Discussion in 'Editor & General Support' started by rstrom, Sep 10, 2020.

  1. rstrom

    rstrom

    Joined:
    Jun 29, 2017
    Posts:
    2
    Hey, I'm getting some blank Objects in Memory Profiler, Anyone knows about this or any idea how to identify those objects? no name objects.PNG
     
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    934
    Hi,
    These textures don't have any references pointing to them anymore so I'd assume they'll get unloaded by the next Resources.UnloadUnusedAssets call (or a destructive, i.e. non-additive scene load).

    I'm not sure what would be a good way to identify them, other than maybe to catch them in an earlier snapshot while they still have a name and references to them and then identifying them in the diff view or by their instance id and/or address?
     
    rstrom likes this.
  3. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    934
    Also, in case you where taking Snapshots of Playmode or the Editor, these could have been the preview screenshots used by the Memory Profiler, or textures used by the Memory Map. See this post for more context.
     
  4. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    934
    FYI, the fix for this has just landed with the release of com.unity.memoryprofiler@0.2.6-preview.1.
    If you create any Texture2D objects without naming them, they will still appear without name in the snapshot though.
     
unityunity