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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
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