I keep getting an error code when I want to load a new scene while making my game. The problem only applies to the new scenes I created, and I am using windows 11 if that helps.
This is what it looks like: “ArgumentException: An item with the same key has already been added. Key: 1e015b90-7713-408c-8d9a-3a4586f0f423
System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <695d1cc93cca45069c528c15c9fdd749>:0) System.Collections.Generic.Dictionary
2[TKey,TValue].Add (TKey key, TValue value) (at <695d1cc93cca45069c528c15c9fdd749>:0)
SceneObjectGUIDManager.Register (SceneObjectGUIDComponent component) (at Library/PackageCache/com.unity.learn.iet-framework@1.2.3/Runtime/SceneObjectGUIDManager.cs:34)
SceneObjectGUIDComponent.Register () (at Library/PackageCache/com.unity.learn.iet-framework@1.2.3/Runtime/SceneObjectGUIDComponent.cs:42)
SceneObjectGUIDComponent.Awake () (at Library/PackageCache/com.unity.learn.iet-framework@1.2.3/Runtime/SceneObjectGUIDComponent.cs:35)”
I am new to unity and would appreciate some help on how to fix this. My game is built off of the karting microgame which I am expanding upon.
The problem only occurs in the new scenes I made, and not the default ones.
Some things I have tried already:
-Deleting the “com.unity.learn.iet-framework” file. After deletion, it strangely comes back by itself.
-Restarting the editor and computer