Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Why is there another field in the inspector showing when serializing an AssetReference

Discussion in 'Addressables' started by UncleanWizard, Sep 2, 2021.

  1. UncleanWizard

    UncleanWizard

    Joined:
    Jun 5, 2021
    Posts:
    38
    Screenshot (32).png

    As you can see up there, the sprite addressable have two fields while others like prefab does not. What is the use of that other field?
     
  2. BernhardTheThreak

    BernhardTheThreak

    Joined:
    Dec 1, 2022
    Posts:
    4
    Answering for people being puzzled by this at first and searching for it. Like me.

    The documentation states that
    Sprite and SpriteAtlas assets can have subobjects. AssetReferences assigned these types of asset display an additional object picker that allows you to specify which subobject to reference.

    This seems to apply for other types of assets too that come with subobjects, for example FontAssets.