Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An item with the same key has already been added. #133

Open
MegaPiggy opened this issue Aug 1, 2024 · 0 comments
Open

An item with the same key has already been added. #133

MegaPiggy opened this issue Aug 1, 2024 · 0 comments

Comments

@MegaPiggy
Copy link

I made 2 mods with different names and set the mod merge setting to MatchingModName. I don't want them to merge, but
when I boot up the game it will break with this exception.

ArgumentException: An item with the same key has already been added. Key: MegaPiggy
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <787acc3c9a4c471ba7d971300105af24>:IL_015A)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <787acc3c9a4c471ba7d971300105af24>:IL_0000)
LethalLevelLoader.AssetBundleLoader.RegisterExtendedMod (LethalLevelLoader.ExtendedMod extendedMod) (at ./Tools/AssetBundleLoader.cs:254)
LethalLevelLoader.AssetBundleLoader+<LoadBundle>d__34.MoveNext () (at ./Tools/AssetBundleLoader.cs:171)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant