github meta files deleted and added between mac and windows

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
farazk86
Posts: 26
Joined: Sun Feb 26, 2023 9:13 am

github meta files deleted and added between mac and windows

Post by farazk86 »

Hi,

I develop my game for android on my main windows machine and then do a build for ios on my mac.

I use github for version control between the two machines, and every time I pull the changes into mac (which is set to an ios project) all the files in the screenshot are removed from the project.

When I then pull changes into the windows machine (android project) all the file are added again. All of them are Dialogue System related meta files.,
image_2023-07-28_002430177.png
image_2023-07-28_002430177.png (139.55 KiB) Viewed 362 times
Is this normal?

Can this be safely ignored or avoided?

Thanks
User avatar
Tony Li
Posts: 22119
Joined: Thu Jul 18, 2013 1:27 pm

Re: github meta files deleted and added between mac and windows

Post by Tony Li »

Hi,

Your .gitignore file is excluding *.unitypackage files. This means for example that you're pushing up "CommonAssemblyDefinitions.unitypackage.meta" to the repo but not "CommonAssemblyDefinitions.unitypackage".

The solution is to remove "*.unitypackage" from your .gitignore, or remove all *.unitypackage files from your project.
farazk86
Posts: 26
Joined: Sun Feb 26, 2023 9:13 am

Re: github meta files deleted and added between mac and windows

Post by farazk86 »

Tony Li wrote: Thu Jul 27, 2023 8:48 pm Hi,

Your .gitignore file is excluding *.unitypackage files. This means for example that you're pushing up "CommonAssemblyDefinitions.unitypackage.meta" to the repo but not "CommonAssemblyDefinitions.unitypackage".

The solution is to remove "*.unitypackage" from your .gitignore, or remove all *.unitypackage files from your project.
Much obliged. Thanks a lot Tony :)
User avatar
Tony Li
Posts: 22119
Joined: Thu Jul 18, 2013 1:27 pm

Re: github meta files deleted and added between mac and windows

Post by Tony Li »

Glad to help!
Post Reply