Search Unity

Official Why folder structures matter

Discussion in 'Asset Database' started by JoseMMCaldera, Dec 19, 2023.

  1. JoseMMCaldera

    JoseMMCaldera

    Unity Technologies

    Joined:
    Feb 16, 2021
    Posts:
    1
    Greetings everyone!

    We just released a blog post about the importance of folder structures for general game development and when using asset bundles. The general thesis is that the process should be artist-led but involve the whole team.

    As games grow, data management will only become a bigger problem; I hope this article serves as a foundation to achieve industry standards and build even better structures for the even larger games the future will bring.

    Feel free to discuss it in this forum thread!
     
    Last edited by a moderator: Dec 19, 2023
  2. RaventurnPatrick

    RaventurnPatrick

    Joined:
    Aug 9, 2011
    Posts:
    249
    The link to the forums is not working in your blog post
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,819
    Thanks for catching! Should be fixed now!
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,128
    It's likely more hassle than it's worth but some visual examples would have been nice as the text examples are pretty word heavy.
     
    Last edited: Jan 3, 2024
  5. EwertonBR

    EwertonBR

    Joined:
    Feb 7, 2018
    Posts:
    18
    Would this be an example of organization by purpose?

    Code (CSharp):
    1. Assets
    2.   - AddressableAssetsData
    3.   - AddressableGroups
    4.   - Scenes
    5.   - Bundles
    6.     - EnemyBundles
    7.       - DefaultEnemy
    8.         - Models
    9.         - Textures
    10.         - Animations
    11.         - Prefabs
    12.         - Audio
    13.       - BossEnemy
    14.         - Models
    15.         - Textures
    16.         - Animations
    17.         - Prefabs
    18.         - Audio
    19.     - UIBundles
    20.       - MainMenu
    21.         - Prefabs
    22.         - Textures
    23.         - Animations
    24.       - HUD
    25.         - Prefabs
    26.         - Textures
    27.         - Animations
    28.     - LevelBundles
    29.       - Level1
    30.         - Prefabs
    31.         - Textures
    32.         - Scripts
    33.       - Level2
    34.         - Prefabs
    35.         - Textures
    36.         - Scripts
    37.       - Level3
    38.         - Prefabs
    39.         - Textures
    40.         - Scripts
    41.     - SharedBundles
    42.       - EnemiesCommon
    43.         - Models
    44.         - Textures
    45.         - Animations
    46.         - Prefabs
    47.         - Audio
    48.       - UICommon
    49.         - Prefabs
    50.         - Textures
    51.         - Animations
    52.       - LevelsCommon
    53.         - Scripts
    54.         - Textures
    55.   - Scripts
    56.     - Game.Player
    57.       - PlayerController.cs
    58.       - PlayerMovement.cs
    59.       - PlayerHealth.cs
    60.     - Game.Enemies
    61.       - EnemyAI.cs
    62.       - EnemyHealth.cs
    63.     - Game.UI
    64.       - UIManager.cs
    65.       - UIController.cs
    66.     - Game.Levels
    67.       - LevelManager.cs
    68.       - LevelGenerator.cs