Search Issue Tracker

Fixed in Unity 2018.2



Found in


Issue ID




SpriteRenderer leaks memory when changing sliced sprite's size




Priority: 3Not yet prioritized for a release


Severity: 3Secondary functionality broken

Steps to reproduce:
1. Download and open "test" scene
2. Enter play mode
3. Open Profiler window
4. Select Memory and set to Detailed
5. Expand Scene Memory
6. Every few seconds press button "Take Sample: Editor"

Expected results: SpriteRenderer's memory usage doesn't change
Actual results: SpriteRenderer's memory usage increases 2-3 KB per second

Note: In Sprite Renderer draw mode must be set to Sliced.

Reproduced with: 2018.2.0a2, 2018.1.0b9, 2017.3.1p2, 2017.2.2f1, 2017.1.3p2, 2017.1.2p3
Not reproducible with: 5.6.5p2
Regression introduced in: 2017.1.2p3

Comments (1)

  1. Df0638ac903ebc57fc0ba08009443d7d?d=mm


    Sep 18, 2018 07:41

    Still have the memory leak problem when setting SpriteRenderer draw mode to sliced with changing Width & Height or changing the Sprite
    Reproduced with: 2017.4.10f1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.