Hi all!
First of all I just want to state that this question is a duplicate from Unity Answers. I did not get an answer there so I was adviced to post it on the forums.
I have a serious problem regarding metadata and SVN. Before I initially imported the project into the repo I tried to do everything according to the best practices I found in the docs.
- Enabled “Visible meta files” in the Edit->Project Settings->Editor prefs.
- Closed the Unity editor, just to make sure everything’s saved.
- Declared some new ignore rules in my svn-client:
$PROJDIR/Temp/
$PROJDIR/Library/
$PROJDIR/Obj/
*.csproj
*.unityproj
*.sln
*.user
*.userprefs
*.DS_store
- Then I just imported the project into the repo.
I then checked out the project on another computer. The missing Library folder was rebuilt, as expected.
But when that was done and the project was opened, all prefab links was broken. Which means the metadata was got screwed up for some reason. I tried to also check in the Library folder from the first computer, then delete the newly built Library folder on the second computer, and check out the original Library folder on the second computer. That made it work.
Somehow the visible meta files which lies next to all the assets are not working. The metadata in the Library folder is still needed for me, which means that I cannot ignore that folder when importing the project. And this despite the docs saying that you should ignore the Library folder.
I’m using Unity Free 4.3 BTW.
Does anybody know what I’m doing wrong here?
Thanks!