So recently I have been coding data stores, Every time I try to save a dictionary this happens,
104: Cannot store Dictionary in data store. Data stores can only accept valid UTF-8 characters.
Why is this happening??? Ive been storing the same things all this time but now this is happening!!
Is this some new roblox update? How do I fix it? What in the world is going on?
What I'm storing
local characters = {}
for _, character in pairs(player.Profile.Characters:GetChildren()) do -- save characters ------------------------------------------------------------------------
local characterFolder = { -- put character data in a table
owned = character.Owned.Value,
-- character values
vUnlocked = character.VUnlocked.Value,
VEquipped = character.EquippedV.Value,
}
characters[character.Name] = characterFolder
end
local currentData = { -- the data im storing,
gems = profile.Gems.Value,
enhanceTokens = profile.EnhanceTokens.Value,
chars = characters, -- all the characters data
equippedChar = player.Profile.Character.Value.Name,
}