Search Unity

'Library' and 'Debug' Folder names are reserved?

Discussion in 'Unity Build Automation' started by shawnblais, Sep 30, 2014.

  1. shawnblais

    shawnblais

    Joined:
    Oct 11, 2012
    Posts:
    324
    I was running into all kinds of errors about missing Class Files, mostly from the package InControl.*, which is a GamePad plugin we use in our game: http://www.gallantgames.com/pages/incontrol-introduction

    Eventually I traced the issue back to 2 problems:
    * InControl stores their script files in InControl/Library, and UnityBuild is ignoring it. In my project, the full path was: Assets/_Libs/InControl/Library
    * UnityBuild also seems to be ignoring the sub folder: InControl/Library/Debug

    After changing the names of these two folders, the build kicked out ok.

    Is this intended behavior? Is it documented anywhere?
    Cheers,
     
    Last edited: Sep 30, 2014
  2. hypeNate

    hypeNate

    Unity Technologies

    Joined:
    Apr 4, 2014
    Posts:
    272
    @shawnblais - are you using Git? We've seen this happen when people have put "library" in their .gitignore file. It's better to make sure .gitignore is only ignoring the main Library folder, not all folders named "Library".

    Let me know if this isn't the problem. Thanks!
     
  3. shawnblais

    shawnblais

    Joined:
    Oct 11, 2012
    Posts:
    324
    We are, but our ignore pattern is specific:
    Dev/src/Temp
    Dev/src/Library
    Dev/src/obj
    *.csproj
    *.sln*
    Builds
    *.suo
    *.lnk
    UnityVS.VersionSpecific.dll
    UnityVS.VersionSpecific.dll.meta
     
  4. shawnblais

    shawnblais

    Joined:
    Oct 11, 2012
    Posts:
    324
    I had recreated the cloudbuild project from scratch, and got the exact same error. Changing the folders fixed it again.

    I went ahead and created a support ticket for this.