Search Issue Tracker
Fixed in 0.11.0
Votes
0
Found in [Package]
0.9.1-preview.15
Issue ID
1239474
Regression
No
Memory leak error upon recompiling after Play Mode when calling DefaultWorldInitialization.AddSystemsToRootLevelSystemGroups
How to reproduce:
1. Open attached project "Sentry.zip"
2. Enter Play Mode
3. Exit Play Mode
4. Add a comment in "bs.cs" script and return to Editor causing it to recompile
5. Observe errors in Console Window
Expected result: no error is thrown
Actual result: 'A Native Collection has not been disposed, resulting in a memory leak' error is thrown
Reproducible with - 2019.4.8f1, 2020.1.2f1, 2020.2.0a20
Package reproducible with - 0.6.0-preview.24, 0.9.1-preview.15 (can't test the latest versions because of errors)
Not reproducible with - 2018.4 (errors)
Error thrown in the Console Window:
A Native Collection has not been disposed, resulting in a memory leak
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Add comment