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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment