Download

Array Length returning 0 when array has elements

The program I’m working on has a section where if an array has any elements, it goes into a while loop. For some reason, the array length node isn’t working, and is returning 0 even if the array has elements.



I tried a workaround by manually adding to a variable every time an element was added to the array, but the greater than node attached to that returns 0 as well.

Array length nodes work. What does not work is the debugger.

You’re a lot better off checking values with a print string :slight_smile: