Unity creates and deletes meta files for folders inside the Asset folder.
That can create an annoying situation when using version control (that you can skip and go to the questions): someone creates a folder of files that will be ignored but forget to ignore the folder's meta file. Unity creates the meta file and this person adds the meta to version control. Another person gets the changesets and, since they don't have the folder, their Unity deletes the meta file and they remove the meta file from version control. Not everyone in the team understand this, so the process is perpetuated in a loop from hell.
Surprisingly this happens all the time. So, two questions:
- Is it important to version folder meta files?
- Is there a way to automatically ignore folder meta files - particularly on git or mercurial?
.+/[^\.]+\.meta
since it would only match.meta
files for things with no.
in their name. – Whiney