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 in Unity 4.5 missing all the settings, says "Executable error"

Discussion in 'Editor & General Support' started by Dreamwriter, Jun 24, 2014.

  1. Dreamwriter

    Dreamwriter

    Joined:
    Jul 22, 2011
    Posts:
    472
    We were using Perforce in Unity, but when we upgraded to Unity 4.5, two of our team members had their Perforce support broken. When we go into the Version Control settings, most of the settings are missing and it says "Version Control executable error".

    Any ideas? This is severely hampering Unity's usefulness to those two team members.

    broken_perforce.png
     
  2. Dave-Hampson

    Dave-Hampson

    Unity Technologies

    Joined:
    Jan 2, 2014
    Posts:
    150
    Is there any information in Library/p4plugin.log which could help?
     
  3. Dreamwriter

    Dreamwriter

    Joined:
    Jul 22, 2011
    Posts:
    472
    Unfortunately, the most recent change to p4plugin.log was a successful login from April, so that doesn't help much. Is it possible that the minimum version of Perforce supported changed in 4.5, and these two people don't happen to have that version?
     
  4. Dave-Hampson

    Dave-Hampson

    Unity Technologies

    Joined:
    Jan 2, 2014
    Posts:
    150
    It doesn't look like the minimal Perforce version was bumped, but I will ask the Version Control developers tomorrow.

    If it helps any, the plugins have full source available here: https://github.com/Unity-Technologies/VersionControlPlugins

    This is a wild guess but could there be something meaning that PerforcePlugin is not allowed to be executed on these machines? That error message almost looks like it's failing to load that rather than p4 itself ...

    Couple more things:
    1) Are you on OSX or Windows?
    2) Can you see PerforcePlugin(.exe) running on those machines (in task manager)?
     
  5. Dreamwriter

    Dreamwriter

    Joined:
    Jul 22, 2011
    Posts:
    472
    They are on OSX. Not sure about PerforcePlugin, dunno how to check for running tasks on Mac, but it's really strange that it happened on two separate computers the moment they upgraded to 4.5, and was working perfectly before that. In fact, the second guy didn't want to update because of what happened to the first one, and then it happened to him. Just to note, we have a number of other computers that did successfully update to 4.5 and keep Perforce working.
     
  6. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    If some computers are working and some are not, then it sounds to me some setting are different on the broken machines,so your saying they all using same version of osx go check all the machines because apple do . Point releases to the osx..click the apple icon on pc and goto about.:
     
  7. GrahamReeves

    GrahamReeves

    Unity Technologies

    Joined:
    Apr 8, 2014
    Posts:
    30
  8. LedMirage

    LedMirage

    Joined:
    May 7, 2014
    Posts:
    1
    Sadly this happened to me today but it seems that due to VPN connectivity issues and the client locking up on me, after having to forcefully shutdown Unity somehow the perforce plugin is not running any more, perforce works flawlessly but the unity plugin is not there, I've tried restarting everything including my PC, re-installing the same version of Unity over ( Release 4.5.2f1 for WIN- not a clean install) - nothing I did enabled / fixed the perforce plugin, this is the errors unity is throwing at me (I can never connect to perforce because of this):

    Cannot load Perforce overlays when plugin is not running.

    Version Control executable error.

    Any and all help is highly appreciated.

    PS this had been working correctly since July on an every day basis until today (12/01/14)
     
  9. Gargosian

    Gargosian

    Joined:
    Sep 7, 2017
    Posts:
    8
  10. Woscars

    Woscars

    Joined:
    Nov 11, 2018
    Posts:
    1
    @KiritoDeathgun - The exact same thing happened to me. I managed to fix it by reselecting Project Settings > Editor > Version Control > Mode > Perforce a couple of times. It refreshed and brought all my settings back and I managed to Reconnect my Unity to Perforce.

    Good luck.
     
    JmprDev likes this.