Page 1 of 1

[Solved] LuaInterpreter/Library.meta not found

Posted: Sun Oct 21, 2018 12:56 pm
by Japtor
Hi,

Today I have downloaded and integrated the new "Dialogue System for Unity" version and I have created a new repository on gitlab.

However, it seems that the Dialogue System/Scripts/Lua/LuaInterpreter/Library.meta disappear "while" my companions are opening the project (after downloading the repository changes to their pcs with the new version). Once opened, inside the console says: A metadata file (.meta) exist but its asset 'Assets/Third Party/Pixel Crushers/Dialogue System/Scripts/Lua/LuaInterpreter/Library' Can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it. and then -> Removing 'Assets/Third Party/Pixel Crushers/Dialogue System/Scripts/Lua/LuaInterpreter/Library' because the assets does not exist.

How can I solve this problem? Unity version -> 2018.2.12f1.

Thanks! :)

Re: LuaInterpreter/Library.meta not found

Posted: Sun Oct 21, 2018 3:14 pm
by Tony Li
Hi,

Make sure your .gitignore file doesn't exclude folders named "Library". It can, and should, exclude the project's Library folder. But it should not exclude the Library folder that is inside the Dialogue System folders. In version 2.0.5, this folder has been renamed to LuaLibrary.

Side note: Also make sure your repository isn't public. Otherwise the entire world can download it.

Re: LuaInterpreter/Library.meta not found

Posted: Sun Oct 21, 2018 3:54 pm
by Japtor
Hi,

Sorry, I am a little confused. I am using this https://www.gitignore.io/api/unity as the .gitignore file of the project (which I guess is the common one) and I am not sure if that is causing that error.

You think the file is fine or there's something that should be changed in there? And yeah, I am using a private repository :P

Thanks!

Re: LuaInterpreter/Library.meta not found

Posted: Sun Oct 21, 2018 4:27 pm
by Tony Li
You could change "[Ll]ibrary/" to "/[Ll]ibrary/", but let's leave the .gitignore alone. Instead, in the Project view, go to Plugins / Pixel Crushers / Dialogue System / Scripts / Lua / LuaInterpreter. There will be a subfolder named "Library". Rename this to "LuaLibrary". Then commit the changes to the repository. When your companions pull down your changes, it should rename the folder for them, too.

Re: LuaInterpreter/Library.meta not found

Posted: Sun Oct 21, 2018 5:15 pm
by Japtor
Hi,

That seems to have worked out the problem! Thanks for your answer :)

Re: LuaInterpreter/Library.meta not found

Posted: Sun Oct 21, 2018 8:48 pm
by Tony Li
Happy to help!