Perforce FAQ

What you need to know about Perforce + Unity. Page is maintained by Kristie.

Perforce + Unity
1. Right before you start making changes to the project:


 * - Always click on "Get Latest Revision" for the project folder so you are not modifying an older version of the project.

2. Whenever you are making changes to files already on the server, be sure to:


 * - Right click the files/folders and select "Check Out".


 * - When you are finished right click on the files/folders again.


 * - Click "Revert Unchanged Files".


 * - Then go ahead and "Submit".

3. You want to make sure that meta files are turned on. In Unity 4.3, meta files are turned on automatically, but are hidden by default.


 * - You can check by going to Edit -> Project Settings -> Editor.

4. After you import new assets into the Unity project and are finished editing the project, make sure to go into Perforce and "Mark for Add" both the new assets AND  the accompanying .meta files.

5. When modifying the project and uploading it to Perforce:


 * - DO NOT submit the "Library" directory or the "Temp" directory if you see it. Those folders are recreated automatically when you open the project again in Unity.


 * - Submitting those directories will cause various errors when trying to open the project later.

General Perforce Info
If you need more help, please refer to the documentation on the Perforce website, which was linked to in the Perforce setup email.