Localized String Reference not unloading

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.

Yes unloading is not fully implemented yet but thanks for pointing it out. I will log a bug.

1 Like