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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment