Library folder can cause issues with git repositories

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
alyssastx
Posts: 1
Joined: Wed Dec 21, 2016 6:30 pm

Library folder can cause issues with git repositories

Post by alyssastx »

Hey,

There's a folder in Dialogue System called "Library" under Dialogue System > Scripts > Lua > Lua Interpreter. Because of Unity's project-level "Library" folder, which contains generated files and is recommended not to be pushed to source control, some people might have .gitignore files that exclude "Library" folders and they might see import errors without realizing what has happened.

We resolved it with a change to our .gitignore, which allowed us to push those files, and it isn't a big deal, but I wanted to let you guys know about the potential conflict in case anyone else runs into this.
User avatar
Alatriste
Posts: 181
Joined: Wed Nov 11, 2015 5:07 pm
Contact:

Re: Library folder can cause issues with git repositories

Post by Alatriste »

Thanks for the tip! :shock:
User avatar
Tony Li
Posts: 21059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Library folder can cause issues with git repositories

Post by Tony Li »

Good catch! I'll rename this to LuaLibrary in the next release. However, the GUID will remain the same, so it will only take effect if you delete and reimport the folder. (When importing, Unity keeps original file and folder names for existing GUIDs.)
Post Reply