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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Plastic SCM Login Expiration Times Are Ridiculous

Discussion in 'Unity Cloud Build' started by ZO5KmUG6R, Apr 5, 2022.

  1. ZO5KmUG6R

    ZO5KmUG6R

    Joined:
    Jul 15, 2010
    Posts:
    480
    Every 2-5 days cloud builds are failing, and then our auto builds are getting auto turned off by Unity because "lost access to Plastic, please re-authorize"

    This is beyond frustrating, especially because it takes 30-45 seconds to edit builds with Plastic SCM because it takes that long to load your branches.
     
    Brogan89 and IOU_RAY like this.
  2. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    207
    Yes, agreed, why does this even need to happen? Just set it up once and forget about it.
    Please change this UCB team :)
     
    LilGames likes this.
  3. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    350
    Hi both,

    I agree this is very frustrating. I suspect this is a bug with Plastic SCM that is catalysed by Cloud Build when it invalidates its own cache.

    Thankfully, there is a pretty easy workaround to this. Next time you are forced to update your Source Control configuration use a Plastic SCM password instead of your Unity ID for authentication (If you don't have a Plastic SCM password, create one with the Forgot Your Password function at plasticscm.com).

    With the standard Plastic SCM authentication there is no need for auth tokens and therefore no more token expiry.

    Hope this helps!
     
    Brogan89 likes this.
  4. ZO5KmUG6R

    ZO5KmUG6R

    Joined:
    Jul 15, 2010
    Posts:
    480
    Not really. That will be yet another nonsensical thing in the Unity ecosystem. You force us onto new source control THEN force us to make plastic accounts as well.

    This was not an issue since the launch of Plastic, and only started a week or two ago.

    Basically the current Cloud Build instructions for Plastic, which as Unity said should be "hassle free" are
    - Make a plastic account, despite having the option to login with a Unity ID
    - Enter your repository source, which I couldn't find any clear documentation for except a 5 year old plastic forum post saying to use "cloud@whatever"
    - Disable auto version detection on build targets, as this just does not work with Cloud Build and causes a build failure due to "Unknown error"
    - Repeat the above step at 30-45 seconds per build target because the 'branches' take forever to load and if you don't let them load the website softlocks. This step totals several minutes if you use Unity anywhere above a personal capacity.
    - Finally your "hassle free" setup is done

    For being the new technology Unity has deemed release ready and moved us onto, this is absolutely bizarre.
     
    Last edited: Apr 7, 2022
    LilGames and IOU_RAY like this.