Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SkyRodent |
So I try to run my game and it takes me to my player script saying at the bottom “Attempt to call function ‘play’ in base ‘null instance’ on a null instance.” in the Errors tab it says “get_node: Node not found: Body/Body.” The Body/body is a animated sprite in a node 2D.
This was working and when I was trying to test something else this happened. I tried removing that one thing but it happens for all my calls involving animated sprite. The code that’s not working is:”$BODY/Body.play(“ ”). My version of Godot is 3.2