We’ve been using git for a while now, and it’s worked fine with Unity with Version Controlled Meta Files turned on. However, some time after upgrading to 4.3, a co-worker pulled a new version of the code, and some (but not all) of our scripts, prefabs, and NGUI atlas references were broken (e.g. “script not found”, instances of prefabs appear red in the hierarchy and no longer link back to the prefabs). They can be restored, but it’s quite a chore to do so.
I noticed that with 4.3 came the option for Visible Meta Files and Hidden Meta Files. It seems that Visible Meta Files was selected for my project by the migration to 4.3. Is this the correct setting for using git? And if so, what might cause this behavior?
I expect one of your co-workers accidentially set this option wrong. Did you also check you all use the (exact) same Unity Version?! Don’t know if it really bother, but you should avoid different versions in any collab software!
I noticed that with 4.3 came the option for Visible Meta Files and Hidden Meta Files. It seems that Visible Meta Files was selected for my project by the migration to 4.3. Is this the correct setting for using git? And if so, what might cause this behavior?