Search Issue Tracker
By Design
Votes
0
Found in
5.5.1p1
Issue ID
880748
Regression
No
[AssetBundles] Loading the same texture from AssetBundle after reloading the bundle causes it to duplicate in memory
Steps to reproduce:
1. Download "880748 repro.zip"
2. Click Assets->Build AssetBundles
3. Open scene "scene.unity"
4. Enter play mode
Result: observe how there are two instances of Diamond printed out into console by Load.cs script
Expected result: there's only one instance of Diamond
Note: If you comment out lines 18 and 19 in Load.cs script ( ab.Unload(false); ab = AssetBundle.LoadFromFile("<path>");) then LoadAsset does not create an additional instance of the asset.
Reproduced on: 5.4.5p1, 5.5.3p3, 5.6.0f1, 2017.1.0b5 (Editor & macOS standalone)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
- A memory leak occurs in Play mode when using Direct3D12 Graphics API
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when rendering 60 real-time lights in the far distance
- Black artifacts appear in the Scene view when moving the mouse with the Scene and Device Simulator windows open
Add comment