Search Issue Tracker
Fixed in 5.0.0
Fixed in 3.0.12, 4.1.2
Votes
2
Found in [Package]
preview.11 - 2.1.0
Issue ID
1235972
Regression
Yes
"A Native Collection has not been disposed, resulting in a memory leak" is thrown when 2D Sprite Shape Controller is disabled
How to reproduce:
1. Open user-submitted project (SpriteShapeLeak.zip)
2. Open the SampleScene
3. Enter Play Mode
4. Check the Console window
Expected result: no errors are thrown
Actual result: 'A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.'
Reproducible with: 2019.3.11f1, 2020.1.0b6, 2020.2.0a8
Could not test with: 2017.4.40f1, 2018.4.22f1(regressed package version unavailable)
Reproducible with package versions: preview.11 - 2.1.0, 4.1.0
Not reproducible with package versions: preview.10 - 2.1.0
-
ahmedaniss
May 21, 2021 02:38
-
mruva
May 20, 2020 22:34
I have same issue on 2019.3.9f1 . Personally I activated again Sprite Shape Renderer and set Alpha to 0 and order in layer to -15 just to be sure it is not shown
-
harusame-
Apr 26, 2020 14:33
I have the same with spriteshapes
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note (fix version 5.0.0):
Fixed in Package 2D SpriteShape 5.0.0
Resolution Note (fix version 4.1.2):
Editor Version: Unity 2020.1
Fixed in 2D SpriteShape Package Version 4.1.2
Resolution Note (fix version 3.0.12):
Fixed in 2D SpriteShape Version 3.0.12
Resolution Note (fix version 3.0.12):
Fixed in 2D SpriteShape Version 3.0.12