In a board game propotype I have a main scene in which I create many instance of a scene (a tile). I then use set_name()
to give a specific name to each instance in order to precisely retrieve every istance when needed. Names are something like 1_1, 1_2, 1_3... 2_1, 2_2, 2_3
... etc.
In Godot v.3.0.6 the game used to work since get_name()
returned exaclty what was expected, while in the new 3.1.1 version it does not work: get_name()
returns something like @1_2
followed by another @ and a number (ie. @1_2@33
or @2_4@45
etc.).
I could manage it by trimming the first @ and getting the following 3 chars, but I would like to know if there is a reason behind this behaviour or if I am doing something wrong.
Thanks
Dave