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
Comments (3)
-
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
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