[Solved] LuaInterpreter/Library.meta not found

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

[Solved] LuaInterpreter/Library.meta not found

Post 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! :)
Last edited by Japtor on Fri Oct 26, 2018 6:26 am, edited 1 time in total.
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: LuaInterpreter/Library.meta not found

Post 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.
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

Re: LuaInterpreter/Library.meta not found

Post 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!
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: LuaInterpreter/Library.meta not found

Post 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.
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

Re: LuaInterpreter/Library.meta not found

Post by Japtor »

Hi,

That seems to have worked out the problem! Thanks for your answer :)
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: LuaInterpreter/Library.meta not found

Post by Tony Li »

Happy to help!
Post Reply