Search Issue Tracker

Fixed in 2019.1.X

Fixed in 2018.3.X

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

-

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

  1. Resolution Note (fix version 2019.1):

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

Add comment

Log in to post comment