Perforce Integration
Use the Perforce version control system.
Read time 1 minuteLast updated 11 days ago
For more information on Perforce, visit www.perforce.com.
Setting up Perforce
Follow the setup process described in the Version Control documentation. See Perforce documentation if you encounter any problems.
Integration through the CLI
When you connect Perforce through the command line interface, the provider is enabled immediately but only becomes active after completes its asynchronous update.
Provider.UpdateSettings()Working offline with Perforce
Only use this if you know how to work offline in Perforce without a Sandbox. Refer to the Perforce documentation for further information.
Troubleshooting
If Unity cannot commit your changes to Perforce (for example, if the server is down, or you experience licensing issues), your changes are stored in a separate changeset. If the console doesn't list any info about the issue, you can use the P4V client for Perforce to submit this changeset to see the exact error message.
You cannot submit changes if you are sharing a workspace with another user. A workspace should be dedicated to one user only.
Automatic revert of unchanged files on submit
It's possible to configure Perforce to revert unchanged files on submit. To do this in P4V, select Connection > Edit Current Workspace, view the Advanced tab and set the value of On submit to Revert unchanged files.