Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Perforce right-click integration in Unity stops working, "Check Out" grayed out

Discussion in 'Formats & External Tools' started by Dreamzle, Jan 29, 2015.

  1. Dreamzle

    Dreamzle

    Joined:
    Apr 23, 2014
    Posts:
    43
    Occasionally, Perforce will stop working - it says it's connected, and we can see Outgoing and Incoming files, but the Version Control->Check Out choice is grayed out on all files. Any idea how to fix this? We had the same problem at my last job, we never found a solution.

    Currently this is in Unity 4.6.2
     
  2. Dreamzle

    Dreamzle

    Joined:
    Apr 23, 2014
    Posts:
    43
    More info: this seems to happen quite frequently, one moment someone will be able to check out files, the next they can't check out any more files. Reconnecting to Perforce doesn't fix the problem, the only thing that seems to fix it is closing Unity and reopening it.

    Edit:
    I submitted this as a bug, Case 668448
     
    Last edited: Jan 30, 2015
  3. CPX_Chris

    CPX_Chris

    Joined:
    Apr 2, 2015
    Posts:
    2
    This still happens in Unity 5. Very annoying.
     
  4. Rienhl

    Rienhl

    Joined:
    Nov 14, 2013
    Posts:
    42
    Any news on this?
    We have the same problem in my team.
    Not only that, but Perforce is failing to apply changes on scripts, materials, etc... (even after following CheckOut > DoStuff > SubmitChanges) and even corrupting some scenes.
     
  5. SecretSantana

    SecretSantana

    Joined:
    Jul 17, 2013
    Posts:
    1
    This has gotten beyond annoying, Unity appears to lose the integration connection every 5 minutes. The only solutions I've found are:
    * Restart Unity every 5 minutes
    * Ignore integration and just manually check in/out everything through P4V
     
  6. OneThree

    OneThree

    Joined:
    Oct 28, 2011
    Posts:
    181
    I'm getting this as well. Reported as bug 702312.
     
  7. JordyJS

    JordyJS

    Joined:
    Jun 8, 2014
    Posts:
    14
    I've had this problem with script files. I find checking out the folder(s) they're in works well enough. Still a bit of a hassle though.
     
  8. OneThree

    OneThree

    Joined:
    Oct 28, 2011
    Posts:
    181
    Ah, interesting. I work almost exclusively with script files, so that might explain why I see it so much. Will give the whole-folder approach a go, though that has the different problem of possibly preventing other people from getting access to scripts they need to work on.

    The real fix, of course, would be Unity fixing the bug itself.
     
  9. JordyJS

    JordyJS

    Joined:
    Jun 8, 2014
    Posts:
    14
    I seem to no longer have the bug after upgrading to 5.1.
     
  10. OneThree

    OneThree

    Joined:
    Oct 28, 2011
    Posts:
    181
    I'm jealous; it's hit me multiple times today, and I'm on 5.1