Event Script Error

Starixia

Newcomer
Hi!
So, I put this in mod support as I am using a ton of mods so chances are it's probably one of them, however, hopefully someone might be able to identify my issue for the following:

[game] Event script error: Exception has been thrown by the target of an invocation.
[game] In event #4081148 for location Temp
[game] On line #80: fork heavy
[game] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Collections.Generic.KeyNotFoundException: The given key 'heavy' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at StardewValley.Event.command_fork(GameLocation location, GameTime time, String[] split) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Event.Commands.cs:line 1229
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at SpaceCore.Patches.EventPatcher.Before_TryEventCommand(Event __instance, GameLocation location, GameTime time, String[] split) in C:\Programming\StardewValley\ModSource\SpaceCore\Patches\EventPatcher.cs:line 63
at StardewValley.Event.tryEventCommand_PatchedBy<Plato.QuestionPatches__spacechase0.SpaceCore>(Event this, GameLocation location, GameTime time, String[] split)
at StardewValley.Event._checkForNextCommand_PatchedBy<PeacefulEnd.CustomCompanions>(Event this, GameLocation location, GameTime time)
at StardewValley.Event.checkForNextCommand(GameLocation location, GameTime time)

For context: 28th of Fall, just got married (again) and Sam invited me to see his performance. I go at 4:40pm and the cutscene begins before the error messages pops up, teleporting me back to the bus stop
 
Please post a full log via: https://smapi.io/log/

The error snippet shows a failure of a SDV event. And, within the error it looks like there's multiple mods patching it. But, a full log should tell us more.

Code:
at StardewValley.Event.tryEventCommand_PatchedBy<Plato.QuestionPatches__spacechase0.SpaceCore>(Event this, GameLocation location, GameTime time, String[] split)
at StardewValley.Event._checkForNextCommand_PatchedBy<PeacefulEnd.CustomCompanions>(Event this, GameLocation location, GameTime time)
While waiting for the log, you can try verifying your game files. You'll need to reinstall SMAPI afterwards though.
Instructions here: https://stardewvalleywiki.com/Modding:Player_Guide/Troubleshooting#Reset_your_content_files

--

EDIT: If you're playing with RSV; than that's probably the issue. Just came across a similar error for that event. See this post for a fix that worked for the other user: https://forums.stardewvalley.net/threads/sams-concert-bugged-out.12335/#post-74758
 
Last edited:
Top