Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.2.0f3
Issue ID
725862
Regression
Yes
[AssetLoading] Memory leak when loading bundles
Repro steps:
1) Open the project
2) Open LoadBundles.cs script and comment line 58 (www.assetBundle.Unload(false))
3) In the menu bar AssetBundles click: Build for WebGL; Use extension .unity3d and Build Asset Bundles
4) Build the LoadBundles scene and move Webgl.unity3d folder from AssetBundles folder to {{build}}/Release/bundles
5) Rebuild and run the project through localhost(by default if you click Build and Run)
6) Open the generated localhost address in Incognito(Private) mode of browser
7) Notice in the task manager that the Memory usage rises drastically sometimes crashing the browser
N.B. Sometimes the bug doesn't reproduce so Rebuilding or reloading the browser helps. Sometimes it reproduces in normal window, but bigger chance in Incognito
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