Modding Help Help with Custom NPC!! Won't Show Up + Errors

Discussion in 'Mods' started by VixeyRayne, Aug 3, 2024.

  1. VixeyRayne

    VixeyRayne Space Hobo

    So I've been working on this custom npc for about a week and just now finished all the dialogue, schedualing etc, etc. I put my folders into the game and immediately got error. I manage to get rid of a few by using https://smapi.io/json to reformat all my .json files. Plus I used I removed any mods expect my own, so the issue definitely lies there. I just don't know what these errors mean or where to start as I'm brand new to modding.

    https://smapi.io/log/b192f1e6187b45af9f6e675f45b874a8
    Code:
    Error loading patch 'Custom Npc Fern > Festivals (from assets/Festivals/fall16.json)': an error occurred.
    StardewModdingAPI.Framework.Exceptions.SContentLoadException: Failed loading asset 'assets/Festivals/fall16.json' from SMAPI\vixeyrayne.customnpc_fern: an unexpected error occurred.
    ---> Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files\StardewValley\Stardew Valley\Mods\CustomNPC Fern\[CP]Fern\assets\Festivals\fall16.json. This doesn't seem to be valid JSON.
    Technical details: Additional text encountered after finished reading JSON content: ]. Path '', line 39, position 2.
       at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
       at StardewModdingAPI.Framework.ContentManagers.ModContentManager.LoadDataFile[T](IAssetName assetName, FileInfo file) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 180
       at StardewModdingAPI.Framework.ContentManagers.ModContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 120
       --- End of inner exception stack trace ---
     

      Attached Files:

    • Pangaea

      Pangaea Forum Moderator

    Share This Page