Error converting value? Updating a mod for 1.6 issue. Fixed + error in the wiki example?

Velocityissin

Farmhand
I was trying to update my mod to 1.6 with using the wiki, but I keep having issues with loading the mod in SMAPI.
[Content Patcher] Can't apply data patch "Custom NPC Isaiah > EditData Data/Characters > entry #1" to Data/Characters: failed converting entry to the expected type 'StardewValley.GameData.Characters.CharacterData': Error converting value "53, 13" to type 'Microsoft.Xna.Framework.Point'. Path 'Home[0].Tile'..
I thought it was because of the outdated format but I changed that already.(I tried both 2.3.0, the one that's on the wiki, and 2.4.4, the latest version of content patcher) When I was testing I deleted the "Tile" part but that caused an error with the schedule, although the mod actually loaded somehow. I tried messing around with the punctuation but everything gives the same result.

I was following the wiki article on NPC data for this, and this is how it's formated over there:
"Home": [
{
"Id": "Default",
"Location": "BusStop",
"Tile": "19, 4"
}
]
And this is mine
"Home": [
{
"Id": "Default",
"Location": "ArchaeologyHouse",
"Tile": "53, 13"
}
]
The spawn tile wouln't be valid on the vanilla map but is on the version that is loaded by my mod. If that was causing the problem I think I would get the error while loading a save file, not while SMAPI is booting up.
I'll try to convert the rest of the mod in the meantime, because maybe that's causing it?
Help needed and very much appreciated.

Edit:
I figured it out while looking at a completely unrelated post.
I changed it to this:
"Home": [
{
"Id": "Default",
"Location": "ArchaeologyHouse",
"Tile": {"x":53, "y":13}
}
]
Idk if the wiki is wrong or something but no error appeared when I did this.
 
Last edited:
Top