Solved Need help: everytime when I walk to the fish pond, the game will crashed

The log shows it may be an issue with Ridgeside Village; as it seems to be the only mod to edit the fishponddata. Though I do see another mod adding to the fish data file; called Pi Friends Fish.

Code:
23:56:02    TRACE    Content Patcher    Ridgeside Village - Content Patcher edited Data/Fish.
23:56:02    TRACE    Content Patcher    Pi Friends Fish edited Data/Fish.
...
23:56:23    TRACE    Content Patcher    Ridgeside Village - Content Patcher edited Data/FishPondData.
23:56:23    TRACE    SMAPI    Content Patcher edited Data/FishPondData.
23:56:23    ERROR    SMAPI    An error occurred in the overridden draw loop: NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Buildings.FishPond._GetNeededItemData() in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 920
   at StardewValley.Buildings.FishPond.HasUnresolvedNeeds() in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 906
   at StardewValley.Buildings.FishPond.draw(SpriteBatch b) in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 1265
   at StardewValley.Locations.BuildableGameLocation.draw(SpriteBatch b) in stardewvalley\Farmer\Farmer\Locations\BuildableGameLocation.cs:line 279
   at StardewValley.Farm.draw(SpriteBatch b) in stardewvalley\Farmer\Farmer\Locations\Farm.cs:line 2068
   at StardewModdingAPI.Framework.SGame.DrawImpl(GameTime gameTime, RenderTarget2D target_screen) in SMAPI\Framework\SGame.cs:line 618
   at StardewModdingAPI.Framework.SGame._draw(GameTime gameTime, RenderTarget2D target_screen) in SMAPI\Framework\SGame.cs:line 216
Can you post your save as well: https://stardewvalleywiki.com/Saves#Find_your_save_files
We may be able to glean some extra info from there.
 

winwin777

Greenhorn
The log shows it may be an issue with Ridgeside Village; as it seems to be the only mod to edit the fishponddata. Though I do see another mod adding to the fish data file; called Pi Friends Fish.

Code:
23:56:02    TRACE    Content Patcher    Ridgeside Village - Content Patcher edited Data/Fish.
23:56:02    TRACE    Content Patcher    Pi Friends Fish edited Data/Fish.
...
23:56:23    TRACE    Content Patcher    Ridgeside Village - Content Patcher edited Data/FishPondData.
23:56:23    TRACE    SMAPI    Content Patcher edited Data/FishPondData.
23:56:23    ERROR    SMAPI    An error occurred in the overridden draw loop: NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Buildings.FishPond._GetNeededItemData() in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 920
   at StardewValley.Buildings.FishPond.HasUnresolvedNeeds() in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 906
   at StardewValley.Buildings.FishPond.draw(SpriteBatch b) in stardewvalley\Farmer\Farmer\Buildings\FishPond.cs:line 1265
   at StardewValley.Locations.BuildableGameLocation.draw(SpriteBatch b) in stardewvalley\Farmer\Farmer\Locations\BuildableGameLocation.cs:line 279
   at StardewValley.Farm.draw(SpriteBatch b) in stardewvalley\Farmer\Farmer\Locations\Farm.cs:line 2068
   at StardewModdingAPI.Framework.SGame.DrawImpl(GameTime gameTime, RenderTarget2D target_screen) in SMAPI\Framework\SGame.cs:line 618
   at StardewModdingAPI.Framework.SGame._draw(GameTime gameTime, RenderTarget2D target_screen) in SMAPI\Framework\SGame.cs:line 216
Can you post your save as well: https://stardewvalleywiki.com/Saves#Find_your_save_files
We may be able to glean some extra info from there.
this is my save. Thank you very much.
( I guess the problem should come from Pi Friends Fish, because I didn't have a problem playing with Ridgeside Village before. I'm not sure. )
 

Attachments

Thanks, can you give this edited save a try.

After comparing the data values; it appears to have been an issue with JsonAssets, & RSV.
Ridgeside Village apparently uses JsonAssets to add new items. But the huge flaw with JA; is that it randomly assigns values to the items it creates. As such, those randomly assigned values can sometimes shift around.


This was the case here. Some of your fishponds were filled with random items instead of the proper fishpond creatures; all due to the item value shifting. So, I swapped them back to the correct values per the JA index file in your save.

This is what I documented of your fishponds, and/or switched to based on the output items.
Code:
1. blobfish
2. stingray
3. 3032 forest amancay should be 3028 fairytale lionfish
4. midnight squid
5. 3033 forest halva should be 3029 fixer eel
6. 3019 deep ridge angler should be crimson spiked clam 3014
7. 3085 paradise rangpur sapling should be pebble black crab 3086
I did a quick test of the fishponds in-game, and they all work for me now. But, let me know if you have any further issues.
 

Attachments

winwin777

Greenhorn
Thanks, can you give this edited save a try.

After comparing the data values; it appears to have been an issue with JsonAssets, & RSV.
Ridgeside Village apparently uses JsonAssets to add new items. But the huge flaw with JA; is that it randomly assigns values to the items it creates. As such, those randomly assigned values can sometimes shift around.


This was the case here. Some of your fishponds were filled with random items instead of the proper fishpond creatures; all due to the item value shifting. So, I swapped them back to the correct values per the JA index file in your save.

This is what I documented of your fishponds, and/or switched to based on the output items.
Code:
1. blobfish
2. stingray
3. 3032 forest amancay should be 3028 fairytale lionfish
4. midnight squid
5. 3033 forest halva should be 3029 fixer eel
6. 3019 deep ridge angler should be crimson spiked clam 3014
7. 3085 paradise rangpur sapling should be pebble black crab 3086
I did a quick test of the fishponds in-game, and they all work for me now. But, let me know if you have any further issues.
OMG it's back to normal! I appreciate all your help! Thank you so much!!
 
Top