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. Dismiss Notice

Moving AddressableAssetsData folder

Discussion in 'Addressables' started by n-gist, Aug 16, 2019.

  1. n-gist

    n-gist

    Joined:
    Mar 7, 2016
    Posts:
    41
    Hi!
    I moved AddressableAssetsData folder a little deeper in the project hierarchy to make it cleaner, and it seems that this does not disrupt the package, but some actions can re-create the folder, for example, when clicking on Analyze button. It doesn’t interfere much, and can be deleted, but it seemed to me that it would be nice if the package "knew its place" =)) ;)
     
    PlatinumEgg002_4 likes this.
  2. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    there's no reason (I can think of right now) that we couldn't force AddressableAssetsData as the spot to put a new main asset (AddressableAssetSettings.asset), but then use the path of that asset for all future asset creation. Seems reasonable.
     
    Xarbrough likes this.
  3. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,184
    Is this supported in the current version? Like nick_gist said, it doesn't seem to break anything. However, I'd like to avoid surprises since I'm working in a team in which other developers may accidentally create the folder and may not be aware of its use.
     
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,444
    What Addressables version supports to move the AddressableAssetsData directory to a different location?
     
    Avalin likes this.
  5. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    328
    Hey @Peter77, I asked the team and got this response

    "None right now. It is on our list of things to do though I believe."

    I hope this helps!
     
    Peter77 likes this.
  6. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,444
    Thanks for the reply. Can you please make sure it's actually on the TODO list? The "I believe" doesn't sound very trustworthy :)
     
  7. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    to clarify, this mostly works now, but has some edge cases not supported. So 'none' really means 'none support all case'. The analyze rule data we are planning to move to the Library (should have been there to begin with). If you have other examples of it not working, please let us know
     
  8. DavidNLN

    DavidNLN

    Joined:
    Sep 27, 2018
    Posts:
    83
    Hi bill, this is an old thread, has this been fully done by now? is it completely safe to move the folder? any edge cases remain?
     
  9. Avalin

    Avalin

    Joined:
    Oct 12, 2018
    Posts:
    98
    I can move it, but whenever my Addressables are built it will recreate it in the Assets folder so there seems to be no point...
     
  10. Mxill

    Mxill

    Joined:
    Jul 25, 2017
    Posts:
    62
    Unfortunately Unity devs are likely working on some new inclusive language program and don't have time for game development
     
  11. Wilhelm_LAS

    Wilhelm_LAS

    Joined:
    Aug 18, 2020
    Posts:
    35
    What? Will i need to break my folder structure rules because of that simple package problem!?
     
    Last edited: Jul 26, 2023