UnityP4 - Perforce integration for Unity

Hi there fellow developers, I’d like to promote my editor extension, cleverly named UnityP4!

If you use Perforce for your version control (and why wouldn’t you, it’s free up to 20 users), then UnityP4 is for you. If you’ve ever broken a build because you forgot to check in a file or asset, then UnityP4 is definitely for you! If you just want a utility that will keep you from constantly having to check files out, or add new ones to perforce, or delete old ones, then there is no reason for you to still be reading this, instead, you should go get UnityP4 right now!

Description

1289879--58952--$icon.png

UnityP4 is a straight forward Perforce integration tool for Unity. It will automatically:

  • Check out files when assets are modified
  • Handle creation of new assets
  • Handle deletion, renaming and moving existing assets and folders
  • Check out project settings and Solution files

It works in the background and doesn’t have any UI other than the configuration dialog. It does one job, but it tries to do it well: It’s there to mirror any change you make to your Unity Project onto your Perforce Workspace.

Additionally, UnityP4 will also:

  • Support SSL connections
  • Work with Perforce Streams
  • Integrate with UnityVS

Sadly, at the moment, UnityP4 does not work on OSX.

How it works

Simply follow the instructions here and you’re on your way! UnityP4 works in the background, printing messages to the console when it performs source control operations. When you need to submit your changes, use P4V as you normally would. Review your changes and enter your changelist description.

Cheers

Do you need to have a Team Licence to be able to use this extension?

You can use it with the free version too.

Hello all.
I thought I’d mention that there is a new version on UnityP4, renamed P4Connect (Unity doesn’t allow assets named Unity___ anymore). It is much more integrated with the editor, with status icons and a pending changes window. The performance has also been greatly improved.

Also, it now works on OSX!




Greetings,

I just picked this package up today. I was wondering if there was a reason why I couldn’t hook up a diff tool in the preferences. I’ve tried numerous ways to get it to at least try to run p4merge, but it’s not budging. I’m on a mac 10.9.3 using Unity 4.5. It insists I haven’t specified anything, but everytime I load my perforce connect preferences, it shows the application I told it to load. I made sure I’ve given p4merge permission (running it at least once) to run as well.

Thanks for any help you can provide.

Update: I have another request. Can you possibly add support for multi-line submit messages? I get an error every time I put a newline in a commit message. Thanks!