#PackedVector2Array Nil on play, but the script runs fine in editor

2 messages · Page 1 of 1 (latest)

nova phoenix
#

.pick_random() returns only fails to return anything if the array is empty - which means that at line 83 possible_connections is an empty array. The cause is not instantly evident from a glance at your code, so I suggest debugging the for loops to see why nothing is being appended.

high mortar
#

ok, thanks soo much!