I have a script I’m building, which loads character information from a database. I have this information stored server side. Once the player loads into the world, I’m wanting to copy over his specific characters data from the server to the client for reference in UI menu’s.
However, this data is stored in a Dictionary container, and is throwing
System.InvalidCastException: Could not cast event argument from ExpandoObject to Dictionary2`
From what I’ve read around, this could have something to do with the interop for lua/js ect, that I can’t pass these kinds of containers? Which leaves me a bit at a loss for any /non/ hackish way of slinging the characters data over, which would be the character data for all the characters the account currently owns.
Any help would be greatly appreciated.