Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resolved MemoryProfiler - Ref Count always 0 for SpriteAtlases

Discussion in 'Profiler Previews' started by BBO_Lagoon, Apr 2, 2020.

  1. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    200
    Hi,
    I try to see why each SpriteAtlas are loaded into memory but the SpriteAtlases never have references to them.
    I use Unity 2019.3.5f1 and Memory Profiler 0.2.3 preview.2 and captured from Android Development build

    On my previous project using unity 2019.2.12f1 and the same version of the profiler I used this to debug memory issues and it was working good and was a great help.
     
  2. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    200
    For information : On the profiler window if I take a memory sample I have the Ref Count and references of the SpriteAtlases but it is far less simple to use as in the memory profiler.
     
  3. alexrvn

    alexrvn

    Unity Technologies

    Joined:
    May 16, 2017
    Posts:
    53
    Heya, please file a bug with this! Checking this behavior on my end it looks like we capture the sprite atlas and all correct references in the memory profiler. You might be hitting an issue that we are not

    Cheers,
    Alex
     
    Last edited: Apr 2, 2020
  4. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    200
    OK, I'll try to reproduce on a smaller project and submit the bug
     
    alexrvn and MartinTilo like this.
  5. alexrvn

    alexrvn

    Unity Technologies

    Joined:
    May 16, 2017
    Posts:
    53
  6. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    200
    Thank you very much! My report is still in review ;)
     
  7. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,456
    What's the issue ID of your report @Binouze so that we can expedite the processing?
     
  8. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    200
    It's the Case 1233404.