Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. 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:
    201
    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:
    201
    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:
    57
    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:
    201
    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:
    57
  6. BBO_Lagoon

    BBO_Lagoon

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

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,490
    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:
    201
    It's the Case 1233404.