Issue Community Center black screen?

Crystallion88

Greenhorn
Hello. Nice to meet the SDV community after having played this game for hundreds of hours, modded and unmodded. :happy:
This is my first post and there's already something wrong with the game.
Today, I entered the Community Center, only to find a black screen. The tool bar didn't show, but the cursor was still there. Fortunately, I could still warp out with CJBs warp menu. It's also the only place as far as I know where this happens.
Here is my SMAPI log: https://smapi.io/log/6ea549f2b5af4aeb83b1098b1c836baf
I also made a zip. file for my most recent save, it that helps.
I realize there's other things wrong with some of the mods, unfortunately I couldn't trace back any of these issues because I'm not exactly good at modding. I tried to look out for compatibility as much as I could.

If there were a kind soul who would guide my out of this (and maybe have some explanations for those other mini-problems in my log so I can fix them), I would totally appreciate that!

Thanks in advance!

EDIT February 15th: I forgot to mention it's for Windows 10, and the version number is 1.5.6. Sorry! - Also also, the duplicate error concerning Vyranity's Breads have been fixed, I simply forgot to delete two folders, so that should be good for now.
 
Last edited:
Thanks for the log.
I'm not seeing an actual save loaded in the log. But, there's a couple things of note.
First a few errors from "More Fish" and "Durin's Rest":
Code:
20:28:46    ERROR    Content Patcher    Unhandled exception applying patch: More Fish > EditImage Maps/springobjects #1.
System.InvalidCastException: Can't replace loaded asset of type SpritesInDetail.ReplacedTexture with value of type Texture2D. The new type must be compatible to prevent game errors.
   at StardewModdingAPI.Framework.Content.AssetData`1.ReplaceWith(TValue value) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\Content\AssetData.cs:line 46
   at StardewModdingAPI.Framework.Content.AssetDataForImage.ExtendImage_PatchedBy<Platonymous.PyTK>(AssetDataForImage this, Int32 minWidth, Int32 minHeight)
   at ContentPatcher.Framework.Patches.EditImagePatch.Edit[T](IAssetData asset)
   at ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection`1 patches, IAssetData asset)


20:28:46    ERROR    Content Patcher    Unhandled exception applying patch: Durin's Rest > EditImage Maps/springobjects #6.
System.InvalidCastException: Can't replace loaded asset of type SpritesInDetail.ReplacedTexture with value of type Texture2D. The new type must be compatible to prevent game errors.
   at StardewModdingAPI.Framework.Content.AssetData`1.ReplaceWith(TValue value) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\Content\AssetData.cs:line 46
   at StardewModdingAPI.Framework.Content.AssetDataForImage.ExtendImage_PatchedBy<Platonymous.PyTK>(AssetDataForImage this, Int32 minWidth, Int32 minHeight)
   at ContentPatcher.Framework.Patches.EditImagePatch.Edit[T](IAssetData asset)
   at ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection`1 patches, IAssetData asset)
As for the Community Center; I know "Love of Cooking" use to mess with the bundles, and could potentially be an issue.
Can you try and grab a new log, when it crashes?
 

Crystallion88

Greenhorn
Thank you for your help. The issue with "More Fish" (and maybe "Durin's Rest" too) lies with the "Sprites in Detail" mod apparently since it seemingly has problems with mods that use PyTK, that's what I've read on their mod site on Nexus. Here's the link, it's in the newest posts: https://www.nexusmods.com/stardewvalley/mods/14487?tab=posts
I have no clue if it's true or if it's being worked on, but until then, I think I can't really do anything. It doesn't impact gameplay in any way as far as I can see, anyhow.

What I've failed to mention in my first post is that I had recently installed Lefkada's mod "All Community Center Bundles" which is just a replacement file for the Bundles.xnp. After a while, and without visiting the Community Center, I decided I'd just go back to the regular Community Center bundles (as I was finished with it anyway and didn't need it for my current most played savefile). So I put the original file back in. I fear that's where the problems started. I did verify the files on Steam though, afterwards.
I've been playing with "Love of Cooking" for a long time and never had any issues with it.

Also, the game didn't really crash, or does a black screen constitute a crash? In any case, here's my recent savefile (hope I did this right) and another new SMAPI log right after having played one day and having entered the CC (meanwhile, I just updated 3 to 4 mods): https://smapi.io/log/28bd00250861461e95046249b1eaf30a
 

Attachments

I see thanks for the info. It does seem the author of the Sprites in Detail mod has been absent for a bit.
Though I see a recent report on their github page; so maybe the author will work on it soon.

Ah okay. Yea, that "All Community Center Bundles" is likely the issue. Your new log with the crash shows it's failing on a custom bundle item(technically multiple, but it crashes on the first instance); that's missing from the vanilla game:

Code:
20:33:34    ERROR    game    An error occurred in the base update loop: System.Collections.Generic.KeyNotFoundException: The given key '37' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at StardewValley.Locations.CommunityCenter.checkForMissedRewards() in stardewvalley\Farmer\Farmer\Locations\CommunityCenter.cs:line 510
   at StardewValley.Locations.CommunityCenter.resetSharedState() in stardewvalley\Farmer\Farmer\Locations\CommunityCenter.cs:line 480
   at StardewValley.GameLocation.<resetForPlayerEntry>b__269_0() in stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 5629
   at StardewValley.GameLocation.resetForPlayerEntry() in stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 5619
   at StardewValley.Game1.onFadeToBlackComplete_PatchedBy<tlitookilakin.AeroCore>(Game1 this)
   at StardewValley.BellsAndWhistles.ScreenFade.UpdateFade(GameTime time)
   at StardewValley.Game1.UpdateOther(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)
Same issue encountered by another user: https://forums.stardewvalley.net/threads/community-center-crashes.15283/post-89987

The black screen counts as a crash since it freezes up, and spams the error above.
I went ahead, and removed the bundle data from the save you shared. And, while testing on my end; I'm able to enter the CommunityCenter now without issue.
But, let me know if anything else comes up.
 

Attachments

Crystallion88

Greenhorn
Thank you very much for your effort, but it doesn't seem to work. I'm not sure if I reintegrated both files correctly, it feels like something's missing in my thought process.
Could you please explain how I should proceed with the savefile you've posted so that I can make sure I didn't mess something up? I'd really appreciate it.
 
Thank you very much for your effort, but it doesn't seem to work. I'm not sure if I reintegrated both files correctly, it feels like something's missing in my thought process.
Could you please explain how I should proceed with the savefile you've posted so that I can make sure I didn't mess something up? I'd really appreciate it.
Is the save not loading at all, or just crashing on the CCenter again?

Easiest way is to remove the "Nyanko_306000890" folder, and its files from the 'Saves' folder. Then place in the updated one I sent.
Also, just to be sure; you're using the normal save location and not the SaveBackups right?


Do you know if it's throwing an error?
 

Crystallion88

Greenhorn
It worked, thank you so much! Yesterday it was already late and I was being stupid, I actually picked the wrong save folder. Now, everything's back to normal :) This community is actually full of wizards.
 
Top