Search Unity

Feedback A standard Unity should enforce.

Discussion in 'Assets and Asset Store' started by georgeq, May 13, 2021.

  1. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    Publishers can create folders wherever they want and name them whatever they want. They can even create folders with names like "scripts" just below the assets folder, which very likely would cause collisions with your own scripts or other third-party assets. Imagine you have 2 assets that imported files to Assets/scripts, how do you delete one of those assets without breaking the other?... also, since publishers are allowed to name their folders whatever they want, locating a specific asset sometimes becomes a nightmare when an asset is published by "Jonhy C" as "sci-fi sound effects" is contained in a folder named "cool stuff". So Unity should enforce all assets to be imported under Assets/publisher_name/asset_name/
     
    Mauri, Kennth, Mark_01 and 3 others like this.
  2. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    +1. I might even go one further: Assets/Licensed/publisher_name/asset_name/ or something to that effect. I'd say the less folders being added to Project root the better.
     
  3. BenniKo

    BenniKo

    Joined:
    Mar 24, 2015
    Posts:
    100
    I totally agree, this should be enforced as a standard.

    As soon as I imported an asset I move everything it added to a specific subfolder assets/addons to keep them separated from my own files.
     
  4. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    Sure, it's a good practice, but sometimes you just inherit the project from another team member, and that's the main reason why this standard should be enforced.
     
  5. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,698
    I agree in principle. But Unity requires certain magic folder names, so there are necessary exceptions. See:

    Where to Install Your Assets

    Many publishers follow those guidelines. If everyone did, things would be much more consistent, and people would be less likely to unwittingly break assets by moving magic folders.
     
    Kennth likes this.