Platonymous / Stardew-Valley-Mods

A collection of mods for Stardew Valley
GNU General Public License v3.0
102 stars 113 forks source link

TMXL crashing with Spouse Rooms added by Content Patcher #123

Open FoggyWizard opened 2 years ago

FoggyWizard commented 2 years ago

Just as stated, after a marriage, TXML crashes the game due to a null object reference whenever Spouse Rooms are added using the new 1.5.5 features instead of through TMXL

lalodragon commented 2 years ago

I'm appending my issue to this one because I suspect they're related. My game works fine when spouse rooms added via Stardew Valley Extended and all of its required mods. But the spouse rooms are broken. Noncanon (SVE, Ridgeside) spouses warp to the void (point 0,0 on farmhouse map, not interactable) when they should be in their spouse room. The Reddit link below has an example screenshot and the SMAPI log of that poster. Note, the player character can enter the spouse room and place items there; this glitch only affects the spouse.

https://www.reddit.com/r/StardewValleyExpanded/comments/raabme/victor_is_in_the_void/

FoggyWizard commented 2 years ago

It turns out that that was my fault, actually. However, the Void stuff is going to be because the spouse rooms need updating. There now needs to be a paths layer to mark where they stand, which is not going to be compatible with how TMXL is currently coded to do spouse rooms.