morningdreamer
Greenhorn
Hello, I've been trying to figure out why I keep getting this issue w/Portraiture. I've seen this around the internet but no actual solution other than potentially changing code (as a non-programmer, I'd rather not attempt this).
SMAPI Log: https://smapi.io/log/5c43bf9d9eec43ce934a753070a46357
The error only shows once the game save is loaded and everything else is working as far as I'm aware. I'm not sure where it's getting this pathway from? It literally doesn't exist on my PC. And I don't know what's missing for it to have "null reference exception" which I understand to be that something is... missing.
Game is updated to 1.6. The "foundation" mods are updated (SMAPI, Content Patcher, SpaceCore, FTM, Json Assets, PyTK Dummy, etc.). I'm hosting a multiplayer lobby, and everyone gets this error message. I know there's a mod confliction between SVE and RRRR in the log, but that's something I'll deal w/later cause it's not supposed to conflict :')
Portraiture is also updated to the "newest" version that works with 1.6. PyTK is no longer needed. SVE has all it's dependencies working as well.
Portrait I'm trying to add into game: https://www.nexusmods.com/stardewvalley/mods/38449?tab=description
Current pathway of mod:
SteamLibrary> steamapps> common> Stardew Valley> Mods> Portraiture-999-1-12-1-alpha-20240304-1709536980> Portraiture> Portraits (modded portrait folders left here)
(Yes, I'm aware the Portraiture mod folder was extracted to its named folder and isn't just the Portraiture mod alone, see troubleshooting below, I prefer my mods extracted to specific folders for easier troubleshooting/organizing)
Troubleshooting done & if it worked:
Uninstall & reinstall Portraiture - no
Portraiture Plus added to see if it needed tokens added - no
Tried new game file in case save was corrupted - no
Extracted portraits mod into Mod folder as said to do for HDP support (the portrait mod isn't an HDP, but worth a shot) - no
Portraiture mod extracted to Mod folder to remove extra folders - no
In all cases of troubleshooting, I've gotten the same error every time. I'm not sure what to do next? It's not game breaking thankfully but I'd appreciate any help/suggestions.
SMAPI Log: https://smapi.io/log/5c43bf9d9eec43ce934a753070a46357
This mod failed in the GameLoop.SaveLoaded event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at Portraiture.TextureLoader.loadAllPortraits() in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\TextureLoader.cs:line 226 at Portraiture.TextureLoader.loadTextures() in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\TextureLoader.cs:line 32 at Portraiture.PortraitureMod.Initialize() in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\PortraitureMod.cs:line 112 at Portraiture.PortraitureMod.OnSaveLoaded(Object sender, SaveLoadedEventArgs e) in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\PortraitureMod.cs:line 106 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101 |
The error only shows once the game save is loaded and everything else is working as far as I'm aware. I'm not sure where it's getting this pathway from? It literally doesn't exist on my PC. And I don't know what's missing for it to have "null reference exception" which I understand to be that something is... missing.
Game is updated to 1.6. The "foundation" mods are updated (SMAPI, Content Patcher, SpaceCore, FTM, Json Assets, PyTK Dummy, etc.). I'm hosting a multiplayer lobby, and everyone gets this error message. I know there's a mod confliction between SVE and RRRR in the log, but that's something I'll deal w/later cause it's not supposed to conflict :')
Portraiture is also updated to the "newest" version that works with 1.6. PyTK is no longer needed. SVE has all it's dependencies working as well.
Portrait I'm trying to add into game: https://www.nexusmods.com/stardewvalley/mods/38449?tab=description
Current pathway of mod:
SteamLibrary> steamapps> common> Stardew Valley> Mods> Portraiture-999-1-12-1-alpha-20240304-1709536980> Portraiture> Portraits (modded portrait folders left here)
(Yes, I'm aware the Portraiture mod folder was extracted to its named folder and isn't just the Portraiture mod alone, see troubleshooting below, I prefer my mods extracted to specific folders for easier troubleshooting/organizing)
Troubleshooting done & if it worked:
Uninstall & reinstall Portraiture - no
Portraiture Plus added to see if it needed tokens added - no
Tried new game file in case save was corrupted - no
Extracted portraits mod into Mod folder as said to do for HDP support (the portrait mod isn't an HDP, but worth a shot) - no
Portraiture mod extracted to Mod folder to remove extra folders - no
In all cases of troubleshooting, I've gotten the same error every time. I'm not sure what to do next? It's not game breaking thankfully but I'd appreciate any help/suggestions.