So, the P4 integration is working for the most part, with one exception. When I open the version control window, right click on my changelist, and hit “submit” I immediately get a message that it “finished successfully” except it doesn’t actually submit the changelist. I have to go in to P4V to submit it.
When I go back to Unity, even after hitting the refresh button in the vcs window, the project window still shows everything checked out and gets really confused. I have to restart Unity for it to really refresh the vcs status.
There is a known bug wrt. the integration returning success in some cases when it is actually failing. You do not loose any data or anything and should be able to see the cause in the console. If not then try to increase the level to “info” or “verbose”.
A fix has already been made and will be in 4.3.
The refresh issue should also be gone in 4.3.
Thank you for the quick response! I turned on verbose and see a warning:
“Version Control: Error in change specification.
Can’t include file(s) not already opened.
Open new files with p4 add, p4 edit, etc.”
I think I know what’s going on. This project has a shared library from elsewhere in the repository mapped in to it with the client view spec. When I modify files in the mapped library, I get the failure. If I only work on files that aren’t mapped, it commits correctly. I can provide more specific info if you need it.
If you could try to trigger the error and the send me the file [projectdir]/Library/p4plugin.log that would be great. And log should be at verbose level.