Search Issue Tracker

Fixed in Unity 2019.1

Votes

0

Found in

2017.1.2p1

Issue ID

998958

Regression

No

Default-skybox cubemap is not re-used when reloading scene multiple times from Asset Bundles and causes memory leak

Asset Bundles

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 2Core functionality majorly impacted

To reproduce:
1. Open repro project
2. Build project with "Development build" and "Script Debugging" enabled
3. Run built project
4. Open profiler in editor

Expected: memory usage will be quite consistent
Actual: memory usage is growing

Reproduced: 5.6.5p1, 2017.1.3f1, 2017.2.1p3, 2017.3.1p1, 2018.1.0b6

Response avatar

Resolution Note:

Option parameter added to SceneManager.UnloadScene function allowing to unload assets embedded in a scene without calling UnloadUnusedAssets.

All about bugs

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