Search Unity

Does Plugins folder have to be in the root level of the Project?

Discussion in 'Documentation' started by zee_ola05, Oct 6, 2015.

  1. zee_ola05

    zee_ola05

    Joined:
    Feb 2, 2014
    Posts:
    166
    Does Plugins folder have to be in the root level of the Project (Assets/Plugins)?
     
  2. master_rigel

    master_rigel

    Joined:
    Mar 24, 2014
    Posts:
    69
    It doesn't have to be in the root folder, but naming becomes tricky. For example, you can't have any capitalization, or special characters in the path from the room folder.
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Are you sure about that ?
    I think it does have to be at the root.

    Prior to Unity 5 (with its plugin inspector) you had to rely on these specially dssignated folders ("magic folders") for plugins, all under Assets/Plugins.

    In Unity 5 and above, there's more freedom since it will automatically detect if an asset is a plugin no matter where it is placed.

    There are some caveats to this, so the older restriction of pugting stuff under Assets/Plugins is still needed sometimes, for example: if you are using Android libraries (a folder, not the compiled .aar file).
     
    JohnTube likes this.
  4. master_rigel

    master_rigel

    Joined:
    Mar 24, 2014
    Posts:
    69
    Indeed indeed. Good catch.