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

VCCache::instance != NULL

Discussion in 'Unity Version Control' started by Metron, Mar 29, 2022.

  1. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Hi,

    whenever I open my Unity editor with a project that uses PlasticSCM, I get this error:

    Assertion failed on expression: 'VCCache::instance != NULL'
    UnityEditor.VersionControl.Provider:GetAssetListFromSelection () (at ?)
    Unity.PlasticSCM.Editor.AssetMenu.ProjectViewAssetSelection:Unity.PlasticSCM.Editor.AssetMenu.AssetOperations.IAssetSelection.GetSelectedAssets () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/AssetMenu/ProjectViewAssetSelection.cs:35)
    Unity.PlasticSCM.Editor.AssetMenu.AssetMenuItems:UpdateFilterMenuItems () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/AssetMenu/AssetMenuItems.cs:89)
    Unity.PlasticSCM.Editor.AssetMenu.AssetMenuItems:AddMenuItems () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/AssetMenu/AssetMenuItems.cs:71)
    Unity.PlasticSCM.Editor.AssetMenu.AssetMenuItems:Enable () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/AssetMenu/AssetMenuItems.cs:29)
    Unity.PlasticSCM.Editor.PlasticPlugin:EnableForWorkspace () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/PlasticPlugin.cs:68)
    Unity.PlasticSCM.Editor.PlasticPlugin:Enable () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/PlasticPlugin.cs:45)
    Unity.PlasticSCM.Editor.PlasticWindow:OnEnable () (at Library/PackageCache/com.unity.collab-proxy@1.15.13/Editor/PlasticSCM/PlasticWindow.cs:182)
    UnityEditor.WindowLayout:LoadDefaultWindowPreferences () (at ?)


    Anyone has a clue how to solve this?

    Thanks
     
  2. Sravzz

    Sravzz

    Unity Technologies

    Joined:
    May 13, 2020
    Posts:
    29
    Hi @Metron, I am sorry you are facing this issue. Have you upgraded to the latest Version Control package version, either 1.14.15 or 1.15.15? If not, can you please try after upgrading?
     
    Metron likes this.
  3. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Thanks, the update seems to fix the assertion. It wasn't a problem since everything worked as expected. It was just a little bit disturbing to see an error pop up upon starting the editor ;)

    Thanks for the hint.