Range error: invalid array length

Hi, I'm trying to render entities in for loop:

The snippet you provided looks okay. This error is almost always caused by a NaN or undefined value getting into the pipeline. My guess is that one of your T_X or T_Y values is bad.

Thank you. The problem was with T_X and T_Y. I had comma instead od decimal dot.

Thank you again!