Page 1 of 1

github meta files deleted and added between mac and windows

Posted: Thu Jul 27, 2023 7:25 pm
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 364 times
Is this normal?

Can this be safely ignored or avoided?

Thanks

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

Posted: Thu Jul 27, 2023 8:48 pm
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.

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

Posted: Sat Jul 29, 2023 7:46 am
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 :)

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

Posted: Sat Jul 29, 2023 9:07 am
by Tony Li
Glad to help!