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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- New Artifact generated for Video when reimporting with identical settings
- “ArgumentOutOfRangeException: Length cannot be less than zero.“ error or “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when CoreUnsafeUtils.FixedBufferStringQueue reads out of bounds
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
hanklord
Apr 27, 2017 08:27
still have this bug in unity 5.4.5!
YaLiGuo
Mar 31, 2017 08:40
in 5.4.4 this issue is still exist
shibasaki
May 12, 2016 06:49
This issue is back. I can see exactly same behavior happening on Unity 5.3+