18:23:50 ERROR game An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
at Portraiture.PortraitFix.Postfix(NPC __instance, Texture2D& __result, Boolean& __state) in F:\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\PortraitsFix.cs:line 44
at StardewValley.NPC.get_Portrait_PatchedBy<Platonymous.Portraiture>(NPC this)
at CustomCompanions.Framework.Companions.Companion.checkAction(Farmer who, GameLocation l) in C:\Users\Floogen\Documents\GitHub Repos\CustomCompanions\CustomCompanions\Framework\Companions\Companion.cs:line 205
at StardewValley.GameLocation.checkAction_PatchedBy<PeacefulEnd.AlternativeTextures__PurrplingCat.QuestFramework>(GameLocation this, Location tileLocation, Rectangle viewport, Farmer who)
at StardewValley.Game1.<>c__DisplayClass859_0.<tryToCheckAt>b__0()
at MinecartPatcher.MCPModHooks.OnGameLocation_CheckAction(GameLocation location, Location tileLocation, Rectangle viewport, Farmer who, Func`1 action) in D:\Code\NewSDV\SDVFactory\MinecartPatcher\MCPModHooks.cs:line 58
at StardewValley.Game1.tryToCheckAt_PatchedBy<Platonymous.PyTK__Platonymous.TMXLoader.Entry>(Vector2 grabTile, Farmer who)
at StardewValley.Game1.pressActionButton_PatchedBy<tlitookilakin.AeroCore>(KeyboardState currentKBState, MouseState currentMouseState, GamePadState currentPadState)
at StardewValley.Game1.<>c__DisplayClass913_0.<UpdateControlInput>b__0()
at MinecartPatcher.MCPModHooks.OnGame1_UpdateControlInput(KeyboardState& keyboardState, MouseState& mouseState, GamePadState& gamePadState, Action action) in D:\Code\NewSDV\SDVFactory\MinecartPatcher\MCPModHooks.cs:line 42
at StardewValley.Game1.UpdateControlInput(GameTime time)
at StardewValley.Game1._update(GameTime gameTime)
at StardewValley.Game1.Update(GameTime gameTime)
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)
repeats 85 times