News Forums RAIN General Discussion and Troubleshooting Serialization breaks with non-decimal locale/culture

This topic contains 1 reply, has 2 voices, and was last updated by  prime 4 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35309

    Sprakle
    Participant

    Players in locales that serialize decimal numbers with non-decimal characters are having problems with our game. It seems the issue is caused by RAIN serialization of the behavior tree and possibly a few other RAIN things.

    You can see one of the player’s truncated log here: (warning, 500K of text)

    http://pastebin.com/raw.php?i=bc7PsJ3P

    We’re using the latest version of RAIN.

    #35311

    prime
    Keymaster

    Hmm… That’s a tough one, because we used commas to delimit fields in a few cases. A quick glance at the log shows that Vector3s are at least part of the problem. Those are definitely serialized as comma delimited numbers. We’ll discuss it internally and try to come up with a solution. It may be that we can force serialization and deserialization to obey non-localized rules.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.