(PlasticSCM) Error: ArgumentException: An item with the same key has already been added. Key: PlasticGui.WorkspaceWindow.PendingChanges.PendingChangeI

I recently got this error in my unity project.

I can’t check in my changes and for some reason i can’t delete my prefabs in my project assets. I asked chatGPT for help, i should look for a “PendingChangeCategory class” but i can’t find it anywhere. I also tried everything i could find online. But nothing worked. I’ve been trying to solve this problem for 2 days and it’s driving me crazy!

Can someone help me please?

ArgumentException: An item with the same key has already been added. Key: PlasticGui.WorkspaceWindow.PendingChanges.PendingChangeInfo
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
PlasticGui.WorkspaceWindow.PendingChanges.PendingChangeCategory.UpdateHash () (at <868e5dc9b3a14edab88aeaa5b0166f37>:0)
PlasticGui.WorkspaceWindow.PendingChanges.PendingChangeCategory.SetChanges (System.Collections.Generic.List`1[T] changes) (at <868e5dc9b3a14edab88aeaa5b0166f37>:0)
PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesTree.BuildChangeCategory (System.String wkPath, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesViewCheckedStateManager checkedStateManager, System.Collections.Generic.List`1[T] changes, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangeCategoryType categoryType, PlasticGui.PlasticLocalization+Name categoryName, PlasticGui.WorkspaceWindow.PendingChanges.Changelists.ChangelistNode changelistNode) (at <868e5dc9b3a14edab88aeaa5b0166f37>:0)
PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesTree.GetPendingChangeCategories (System.String wkPath, PlasticGui.WorkspaceWindow.PendingChanges.CategorizedChanges categorizedChanges, PlasticGui.WorkspaceWindow.PendingChanges.Changelists.ChangelistNode changelistNode, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesViewCheckedStateManager checkedStateManager) (at <868e5dc9b3a14edab88aeaa5b0166f37>:0)
PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesTree..ctor (System.String wkPath, System.Collections.Generic.List`1[T] changes, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesViewCheckedStateManager checkedStateManager) (at <868e5dc9b3a14edab88aeaa5b0166f37>:0)
PlasticGui.WorkspaceWindow.PendingChanges.BuildPendingChangesTree.FromChanges (Codice.CM.Common.WorkspaceInfo wkInfo, System.Collections.Generic.List`1[T] changes, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesViewCheckedStateManager checkedStateManager) (at <868e5dc9b3a14edab88aeaa5b0166f37>:0)
Unity.PlasticSCM.Editor.Views.PendingChanges.UnityPendingChangesTree.BuildChangeCategories (Codice.CM.Common.WorkspaceInfo wkInfo, System.Collections.Generic.List`1[T] changes, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesViewCheckedStateManager checkedStateManager) (at ./Library/PackageCache/com.unity.collab-proxy@2.3.1/Editor/PlasticSCM/Views/PendingChanges/UnityPendingChangesTree.cs:92)
Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView.BuildModel (System.Collections.Generic.List`1[T] changes, PlasticGui.WorkspaceWindow.PendingChanges.PendingChangesViewCheckedStateManager checkedStateManager) (at ./Library/PackageCache/com.unity.collab-proxy@2.3.1/Editor/PlasticSCM/Views/PendingChanges/PendingChangesTreeView.cs:228)
Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTab.UpdateChangesTree (System.Collections.Generic.List`1[T] changes) (at ./Library/PackageCache/com.unity.collab-proxy@2.3.1/Editor/PlasticSCM/Views/PendingChanges/PendingChangesTab.cs:918)
Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTab+<>c__DisplayClass69_0.<FillPendingChanges>b__1 () (at ./Library/PackageCache/com.unity.collab-proxy@2.3.1/Editor/PlasticSCM/Views/PendingChanges/PendingChangesTab.cs:789)
Unity.PlasticSCM.Editor.UI.UnityThreadWaiter.<OnTimerTick>b__7_1 () (at ./Library/PackageCache/com.unity.collab-proxy@2.3.1/Editor/PlasticSCM/UI/UnityThreadWaiter.cs:97)
Unity.PlasticSCM.Editor.UI.EditorDispatcher.Update () (at ./Library/PackageCache/com.unity.collab-proxy@2.3.1/Editor/PlasticSCM/UI/EditorDispatcher.cs:48)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <78fe3e0b66cf40fc8dbec96aa3584483>:0)

Hello, I’ve also experienced it but i fixed it to fix it, click version control, click branch explorer, go to pending changes and click all the changes and check in.

getting same thing and still don’t know how to fix

Did you get a fix please? I’ve got a similar issue.