Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Default settings always loaded from Resources, causing asset duplication with addressables

Discussion in 'UGUI & TextMesh Pro' started by einWikinger, Jun 13, 2022.

  1. einWikinger


    Jul 30, 2013
    The way the default settings object is loaded at runtime causes asset duplication when using Addressables to bundle font assets.
    This happens because the font assets are once loaded into memory when loaded through references coming from the settings object and once through components that reference the fonts that are bundled.

    A way to customize how the default settings object is loaded at runtime would already help, or to allow setting up the default settings object global instance.

    A workaround is to eliminate all asset references from the default settings object (i.e. default font, sprites, ...) which is not very practicable in the editor.