Invalid call. Nonexistant function 'get_current_node' in base nil

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By K1ngK0ng

Invalid call. Nonexistant function ‘get_current_node’ in base nil

why is this showing up on this line of code
var _current = state_machine.get_current_node() of code

:bust_in_silhouette: Reply From: Ahotenus

verify that the statemachine node you are calling has the corresponding node assigned