Search Unity

Bug Localized String Reference not unloading

Discussion in 'Localization Tools' started by Andrew-Kite, Jul 19, 2019.

  1. Andrew-Kite

    Andrew-Kite

    Joined:
    Oct 16, 2014
    Posts:
    34
    I have noticed that the Addressables profiler is showing a bunch of items not being unloaded. I narrowed it down to the LocalizeStringReference component attached to my UI elements.

    To test this I removed all references of the String localization from my LoginMenu's Text objects, and kept them on my LandingMenu. Going back and forth between these two menus showed that each time I navigated to the LandingMenu, a bunch of items pop up in the profiler and never disappeared when the menu was unloaded.

    I am also using Addressables for loading in my menus, and these get unloaded correctly (as demonstrated by the lack of a LoginMenu in the profiler image attached).

    Memory usage continues to increase as I navigate between pages.
     

    Attached Files:

  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,291
    Yes unloading is not fully implemented yet but thanks for pointing it out. I will log a bug.
     
    Andrew-Kite likes this.