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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    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:
    174
    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:
    174
    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:
    48
    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:
    174
    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:
    48
  6. BBO_Lagoon

    BBO_Lagoon

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

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    1,911
    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:
    174
    It's the Case 1233404.