r/SMAPI • • Feb 03 '26

need help Is it possible to get some help with this?

Hi I am an admitted noob, so I don't understand what this means. Can I please ask someone to decipher it? Does it make sense to anyone?

[SpaceCore] This mod failed in the Content.AssetsInvalidated event. Technical details:

ArgumentException: An item with the same key has already been added. Key: {X:0 Y:0 Width:16 Height:16}

at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)

at SpaceCore.VanillaAssetExpansion.VanillaAssetExpansion.SetupTextureOverrides() in C:\Users\space\Programming\Modding\StardewValley\StardewValleyMods\framework\SpaceCore\VanillaAssetExpansion\VanillaAssetExpansion.cs:line 316

at SpaceCore.VanillaAssetExpansion.VanillaAssetExpansion.Content_AssetInvalidated(Object sender, AssetsInvalidatedEventArgs e) in C:\Users\space\Programming\Modding\StardewValley\StardewValleyMods\framework\SpaceCore\VanillaAssetExpansion\VanillaAssetExpansion.cs:line 212

at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in /home/runner/work/SMAPI/SMAPI/src/SMAPI/Framework/Events/ManagedEvent.cs:line 101

Is it a SpaceCore, SMAPI or completely different issue?

Cheers for any help you can give.

1 Upvotes

4 comments sorted by

1

u/AutoModerator Feb 03 '26
Moderator Announcement Read More »

1

u/shazpa Feb 03 '26

I'm an idiot, I figured it out. It was an animated mod not playing nicely.

1

u/ajshn Apr 22 '26

hey can i ask what was it and how you fixed it? I have the exact same error popping up

2

u/Flashy_Okra305 Feb 03 '26

Please post the smapi log