Search Issue Tracker

Fixed in 5.2.0

Votes

0

Found in

4.6.3p4

Issue ID

687059

Regression

No

Resources.UnloadUnusedAssets() doesn't unload fonts if they were loaded from an asset bundle

Assets Management

-

Resources.UnloadUnusedAssets() doesn't unload fonts if they were loaded from an asset bundle and unloaded by using AssetBundle.Unload(false) even if the objects that are referencing them were destroyed

To reproduce:
1) Download and open project
2) Open scene Scene
3) Press play and hold spacebar for a couple of seconds
4) Go to profiler Memory->Detailed->Take Sample
5) Expand Assets->Fonts and notice the large number of Roboto-Bold font (the longer you held the space key, the more fonts there will be)

Reproduced on 4.6.4p1 and 4.6.1f1

Comments (3)

  1. hanklord

    Apr 27, 2017 08:27

    still have this bug in unity 5.4.5!

  2. YaLiGuo

    Mar 31, 2017 08:40

    in 5.4.4 this issue is still exist

  3. shibasaki

    May 12, 2016 06:49

    This issue is back. I can see exactly same behavior happening on Unity 5.3+

Add comment

Log in to post comment

All about bugs

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