Search Unity

Perforce error since upgrade to 5.5.1f1

Discussion in 'Editor & General Support' started by diekeure, Feb 19, 2017.

  1. diekeure

    diekeure

    Joined:
    Jan 25, 2013
    Posts:
    221
    Hello,

    Since I upgraded from 5.4.4f1 to 5.5.1f1 I get the error "Password must be set before access can be granted".

    The password is set, and has always been valid in previous Unity versions, so I guess something is wrong there. Anyone else has this issue?

    Thanks,
    Alex
     
  2. diekeure

    diekeure

    Joined:
    Jan 25, 2013
    Posts:
    221
    Ok, I solved this myself, I had a typo in the username.

    As usual, perforce has very helpful error messages...
     
  3. JakeTurner

    JakeTurner

    Unity Technologies

    Joined:
    Aug 12, 2015
    Posts:
    137
    Glad you resolved it your own.
    In this context would more error messages be helpful?
    We could log out the connection information when the connection fails eg
    server name + port
    username
    workspace name

    I don't think it would be sensible to plain text log the password
     
  4. diekeure

    diekeure

    Joined:
    Jan 25, 2013
    Posts:
    221
    Definitely not the password in plain text indeed :)

    I'd rather have more accurate error messages, as in an error message that says "unknown user name". Not sure if that's possible though.
     
  5. JakeTurner

    JakeTurner

    Unity Technologies

    Joined:
    Aug 12, 2015
    Posts:
    137
    > Password must be set before access can be granted

    Is the error we get back from the Perforce server. There might be a security setting on the Perforce server to force a different username eg "unknown user" but also that might be considered a security risk.