Search Unity

Resolved Turn off the auto pop-up when the Plastic SCM plugin detects changes? - Yes, not an issue in 1.17.1

Discussion in 'Unity Version Control' started by Krooq, Jul 25, 2022.

  1. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    194
    I like to keep the Plastic SCM window closed because it adds a significant impact to editor reload times.
    However every time I make a change to an asset and Plastic SCM detects it, the window pops up unannounced.
    It would be nice if it could just not do that and leave me in peace until I'm ready to commit the changes.

    Is this possible?
     
  2. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    1,060
    We've fixed this issue since version 1.15.12. The Plastic window should stay closed when the user modifies an asset.
     
    Krooq likes this.
  3. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    194
    Thanks for the response.
    Unfortunately this is still an issue in Version 1.15.18 (Unity 2021.3.4f1)
    It does only appear to occur after a period of no changes has elapsed and comes with this warning in the logs.

    Code (CSharp):
    1. [Warning] Cannot checkout files in Version Control: An existing checkout operation has locked the workspace 'Sublight'. Please wait for the checkout operation to finish.
    2. PlasticAssetsProcessor.LogCheckoutException() at Library/PackageCache/com.unity.collab-proxy@1.15.18/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:270
    3. 268:   static void LogCheckoutException(Exception ex)
    4. 269:   {
    5. -->270:       UnityEngine.Debug.LogWarning(
    6. 271:           string.Format(PlasticLocalization.GetString(PlasticLocalization.Name.CannotCheckoutVersionControl),
    7. 272:           ex.Message));
    8.  
    9. PlasticAssetsProcessor.CheckoutOnSourceControl() at Library/PackageCache/com.unity.collab-proxy@1.15.18/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:130
    10. 128:   catch (Exception ex)
    11. 129:   {
    12. -->130:       LogCheckoutException(ex);
    13. 131:   }
    14. 132:   finally
    15.  
    16. AssetPostprocessor.OnPostprocessAllAssets() at Library/PackageCache/com.unity.collab-proxy@1.15.18/Editor/PlasticSCM/AssetsUtils/Processor/AssetPostprocessor.cs:43
    17. 41:           return;
    18. -->43:       PlasticAssetsProcessor.CheckoutOnSourceControl(AssetModificationProcessor.ModifiedAssets);
    19. 44:       AssetModificationProcessor.ModifiedAssets = null;
    20. 45:   }
    21.  
    22. EditorApplication.Internal_CallUpdateFunctions()
    23.  
     
  4. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    1,060
    Hi,

    Can you upgrade to the very last version: 1.17.1?

    Regards,
    Carlos.
     
  5. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    194
    That version doesn't look to be available in the package manager for 2021.3.4
    I'll try upgrading to 2021.3.7 but I cant go to 2022 yet.
     
  6. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    1,060
    I am not sure why our new package version is not showing for this specific editor version even though it is showing fine for other editor versions (let me report it). You can manually add our latest package (1.17.1) through the package manager menu:

     
    Krooq likes this.
  7. Krooq

    Krooq

    Joined:
    Jan 30, 2013
    Posts:
    194
    Sorry for the long delay.
    After upgrading to 2021.3.7 I was able to install the latest version control package from the package manager and it does appear that the popup behaviour is no longer occurring.

    Thanks for help!
    I know "get the latest version" fixes are unsatisfying to provide but you really did help me out :)