[BUG] Differences in mp4 .meta files between Windows and Mac

Hi guys, I have a problem with different properties in mp4 meta files. When Windows user commits and pushes mp4 meta files they are automatically re-imported on Mac and they have different properties set like in the image attached. Same behavior can be observed when files are pushed from Mac and re-imported in Windows. Any clue how to solve this issue? This is really annoying because either Windows or Mac user has some ‘trash’ visible in Git client.

Thanks for any advice!

1 Like

I don’t have a fix, but I also have this problem!

Nevermind let us just get really simple I saw your key problem just now, you just don’t want all that garbage on github. Might I recommend GitIgnore. It is a little more complicated than just using your gitIgnore file and adding *.meta because you need A meta file for everything but you should be able to solve your trash with the following help. Not going to take someones thunder so here come some linkages.

Here is the github for a nifty little helper GitHub - kayy/git-pre-commit-hook-unity-assets: Pre-commit hook script for Unity to check that every folder that just has marked to be ignored in .gitignore has an entry for its meta file to be ignored too.

And here is the blog that explains it in detail SCIO System-Consulting GmbH & Co. KG