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

Package: Entity Component System (ECS)

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.