Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | popon2 | |
Old Version | Published before Godot 3 was released. |
Im biginer and i start using godot - I used this tutorial and Im doing the same things (but different names of player or enemy (i checked everythink), but different version of godot…
I m ended in 57:32 - test of restart game (him everything works, me wrote Godot error: “Attempt to call function ‘get_pos’ in base ‘Nil’ on a null instance.”)
Someone have the same probleme, but there is no answer (only from author on his contact)
Can help me someone?
Sorry for my bad english…
video: enter link description here
This error means taht you cast a function “get_pos()” on object that doesn’t exist, the debugger should jump to script editor and bring the line with error in window named “stack frames” you have to check that line for eventual error and if you se nothing just outcoment it with # sign
it will be easier if you paste your code but not here but something like www.pastebin.com
KRL | 2016-03-13 22:30