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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment