edited December 2024 in ORK Support
Hey,
I’ve got object variables on an object which I’m accessing from many scrips, each variable is a string which is 200 characters long. I’m getting a very bizarre intermittent error from my script where periodically it’ll only pull across 125 characters of the string not the full 200, throwing out an exception when the script tries to read a specific character. There doesn’t seem to be any logic to it. I use this method in many scripts and it doesn’t seem to give an error, but using a script that accesses the variables multiple times randomly does this.

No doubt it’s something I’m doing wrong, has anyone else come across this?

Post edited by cookereptiles on
  • Can you post the code or at least the parts that cause the error (and where you access the variable)? Also, what kind of content is stored in the strings - e.g. just regular ascii characters, some whitespace stuff (new line, etc.)?
    Otherwise it's hard to guess anything :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Hey Gil,
    I’ve managed to fix it, thanks. Was another script altering the strings.
Sign In or Register to comment.