- Home /
Argument Exception - same key
Hi, I've been playing around with the FPS microgame but when I made my own Player, I started getting this error and I cannot figure out why or how to resolve it. If anyone could clue me in to why this is happening and how to fix it, that would be awesome. Thank you!
Here's the error:
ArgumentException: An item with the same key has already been added. Key: a2a044e8-c72e-46ac-9e58-310c2116de31 System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at :0) System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at :0) Unity.Tutorials.Core.SceneObjectGuidManager.Register (Unity.Tutorials.Core.SceneObjectGuid component) (at Library/PackageCache/com.unity.learn.iet-framework@2.1.1/Runtime/SceneObjectGuidManager.cs:39) Unity.Tutorials.Core.SceneObjectGuid.Register () (at Library/PackageCache/com.unity.learn.iet-framework@2.1.1/Runtime/SceneObjectGuid.cs:53) Unity.Tutorials.Core.SceneObjectGuid.OnValidate () (at Library/PackageCache/com.unity.learn.iet-framework@2.1.1/Runtime/SceneObjectGuid.cs:60)
Answer by theunsigned · Nov 09, 2021 at 10:45 AM
Package Manager - Unity Registry - Tutorial Framework - REMOVE
Your answer
![](https://koobas.hobune.stream/wayback/20220613045138im_/https://answers.unity.com/themes/thub/images/avi.jpg)