ChildToNPC/ChildAgeUp/LittleNPC Mod Problems after Converting??

teluna

Greenhorn
Throwing this out into the dark since I'm going a little insane :owo:

I previously used ChildToNPC and ChildAgeUp in my game prior to update 1.6. I know ChildToNPC has been abandoned and only randomly updated (thank you to those who worked on unofficial updates!), so I decided to migrate to LittleNPCs as recommended by comment posts on nexus.

I converted the tokens on my content.json as described in the mod's ReadMe on the nexus page and after struggling for a bit, I managed to get the child npcs to show up as they used to with correct sprites and appropriate dialogue.

Ending the day ended in a full crash of the game.

This is only one of the error messages after reviewing on the log parser:

23:24:00ERRORSMAPIAn error occurred in the game's draw loop: ObjectDisposedException: Cannot access a disposed object.
Object name: 'Can't draw texture 'Portraits/SecondLittleNPCArisa7099967343969833391' because it's disposed.'.
at Microsoft.Xna.Framework.Graphics.SpriteBatch.CheckValid(Texture2D texture) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\SpriteBatch.cs:line 176​
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw_PatchedBy<spacechase0.SpaceCore>(SpriteBatch this, Texture2D texture, Vector2 position, Nullable`1 sourceRectangle, Color color, Single rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, Single layerDepth)​
at StardewValley.NPC.draw_PatchedBy<spacechase0.SpaceCore>(NPC this, SpriteBatch b, Single alpha)​
at StardewValley.Characters.Child.draw(SpriteBatch b, Single alpha)​
at StardewValley.Characters.Child.draw(SpriteBatch b)​
at StardewValley.GameLocation.drawCharacters(SpriteBatch b) at StardewValley.GameLocation.draw(SpriteBatch b)​
at StardewValley.Game1.DrawWorld(GameTime time, RenderTarget2D target_screen)​
at StardewValley.Game1._draw(GameTime gameTime, RenderTarget2D target_screen)​
at StardewModdingAPI.Framework.SGame._draw(GameTime gameTime, RenderTarget2D target_screen)​

Full log here: https://smapi.io/log/20a68b390aa04c9696567c4a18a3a8cc

I can only assume from what's shown that there's an issue with how my children are loading into the game or even additional problems also contributing, but for the life of me I can't figure out how I'd even resolve it.

It took me a few hours just to even get the children up and running by roughly replacing tokens...any clues??? :sweat:

Thanks for reading!!
 
Last edited:
Top