Get_node returning null in a thread

Godot Version

godot 4.2.1


Hi im creating a thread and trying to get a node with get_node() function
when the function wasnt activated as a thread, the same line seemed to be working fine. but now in a thread it returns null.

can you gain access to nodes in a thread?

1 Like

Try turning off safety checks on the thread.


the return value of get_node stayed null, though for now, I have found a workaround instead of using a thread.
thanks anyways