Search Unity

Feature Request GameFoundation + Addressables?

Discussion in 'Game Foundation' started by Renea, May 7, 2020.

  1. Renea

    Renea

    Joined:
    Nov 12, 2017
    Posts:
    9
    I was just looking at the Assets Detail for an inventory item. Your documentation states that these referenced assets need to be in Resources folder. Addressables does look at any Resources folders but what if the assets are in an addressables specific folder? Can we add that resource path for the asset?
     
  2. antoine-agthe_unity

    antoine-agthe_unity

    Unity Technologies

    Joined:
    Jun 6, 2019
    Posts:
    7
    You couldn't be more aligned with us on it.

    You may find some info in another thread: Where did custom detail definitions go in version .4?
    But in a few words, the AssetDetail has been added as a temporary solution because we had to fix a serialization problem and a memory usage problem.
    We knew the limits of the Resources API, but that was a quick move, "good enough" for early testers to have soft references to assets without adding more dependencies.

    Addressables is definitely something we are studying currently.
    It may solve some problems, but it is also a new dependency to the Game Foundation package, and this is something to put in the balance.
     
    mingz-unity likes this.
  3. spryx

    spryx

    Joined:
    Jul 23, 2013
    Posts:
    557
  4. antoine-agthe_unity

    antoine-agthe_unity

    Unity Technologies

    Joined:
    Jun 6, 2019
    Posts:
    7
    I don't have more information about this deprecation plan.
    Whatever happens, deprecating a feature like the Resources API may take time and we'll hopefully propose a better solution very soon.
     
    mingz-unity and spryx like this.