Relative asset paths

Hi everyone.
Recently I am making a game with a friend, and we are using SVN to store our entire project. The problem is that we he updates the local copy and open the Unity, all scene is messed up, he loses all links to prefabs and all objects that should be on stage are gone. I think this happens because the absolute path that unity input in my assets, pointing to the full location on my hard drive, and since my friend try to open these same files in his context, the program cant find the full location reference and messes with it. Is there any way that I could use relative paths to the Unity Project? I tryed once use the Asset Server, but its too far complicated and I could not setup.

Thanks any advice.

Are you storing the entire project including the library folder? In any case, using default settings, Unity has a tendency to break terribly if you try to use it with SVN. The Asset Server is one solution for this- if you’re intent on using source control for the entire project, you should really look into that again.

The problem is not to do with relative asset paths. I regularly carry large projects around on portable hard-drives, and they work perfectly just copied down to the computer on which I am currently working. Windows, Mac, it all works. I think your problem is to do with corrupt metadata.

As of 3.5 you can store metadata inline with the Assets folder, avoiding the need for a complicated Library folder! Go to the ‘Editor’ settings in your project, and change the Version Control mode to ‘Meta Files’- this will enable support for external version control.

Having done this, you should add the Assets and ProjectSettings folders to your version control, ignoring the Library and Temp folders. This should allow you to synchronise your projects easily.