EDITED: I think just found my problem. Will flag as answered soon, I suspect<br><br>Solution to problem:<br><br>You cannot type cast a string to an integer within the for loop that has created the string you are trying to type cast.<br>Other type casts seem to work, but not string->int.<br><br>This is within GDScript<br><br><br>There is the .is_valid_integer() method, but it says, even though I can print the meta data and get a fitting result, that when I try to do the .is_valid_integer() method on the meta data, it says that I was trying to use the method on a null object<br><br>var integer_as_str = "100"<br>print(int(integer_as_str))<br>>>> 100<br><br>var phone_number = spatial.get_meta("phone_number_as_string") #a meta string<br>print(phone_number)<br>>>> 12345678<br><br>print(int(phone_number))<br>print >>> Error: Invalid Call. Nonexistent 'int' constructor.