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
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Add comment