Issue Game crashing when trying to get object out of inventory

knaveryact

Greenhorn
Hi! This is the first time I can't figure out how to solve the problem with modding, hoping someone helps and there is some other thing to do besides starting a new game.
When I was furnishing the cabin with Casual Furniture set (https://www.nexusmods.com/stardewvalley/mods/13893). Don't know if it's relevant but went to sleep, and next in game day wanted to get rid of one of the objects out of my inventory, but whenever I do my game... idk minimalizes a little bit, then gets back to normal when I move the cursor away. I can't click or interact with the object in any way. When I try to leave the inventory, game works for a few seconds before crashing and smapi starts give a wall of red text.

Edited to add: deleting the mod doesn't help, because then there is empty space in inventory that still acts like the objects.


here is the smapi log proper, but I don't see that issue there https://smapi.io/log/d5c39bb0bfa24ce08e5b9ee9c636d9ce
and here is the wall of text: https://textdoc.co/w6rdf4jxSb3ihJtV
 
Thanks for the log, and extra information; that helps a lot!

So yea, there's a recent bug going around with CustomFurniture and/or its dependency SpaceCore causing issues.
Basically, modded CF items are being read as if they were vanilla, furniture items. And, if there's no matching ID in the vanilla, game files; there's a crash.

Finding your saves:

If you post your save folder here; I can manually clean out the CF items.

But, you'll also want to remove the CF mod so it doesn't happen again.
Hopefully, later when its fixed; everyone can re-add them again.
 
Alright, thanks.
I deleted the 'spacecore-serializaton.json' file which seemed to have all the CF items. Then I checked your save, and while I didn't see any CF items in your inventory. You were missing a few slots; which was odd. So, I re-added empty slots; so you're back at the maxsize backpack.

You have quite a few other mods that prevent me currently from testing in-game further. But, I think I got everything.
You can replace your old save with this one, and it should work now.

But, let me know if you encounter any other issues.
 

Attachments

Hi, I'm currently having the same issue and I'm not sure what to do when it comes to repairing it because I'm very new to mods. I think this is the correct save file but I'm not sure
Thanks, that actually looks like the backups from SMAPI.
I did check the files though. It looks like only the IvyGreen save has the CF items. And, there's no other modded items in the spacecore files; so they're safe to delete.

If you go into your actual save folder:

There should be 2 files in the "IvyGreen_338861663" folder, that begin with "spacecore-serialization*.json"
Delete those 2 files, and make sure to remove CustomFurniture and any CF mods you have from the 'Mods' folder.

Later if/when it gets patched you can add the mods back.
 
Top