…Apparently it’s not working because targetObjectX being empty doesn’t make it null, it makes it… “<GDScriptNativeClass#-9223372022778690903>”
Maybe it is a bug.
Oh, no, I just did it wrong.
I had
@export var targetObjectX = Node3D
instead of
@export var targetObjectX : Node3D
Always post your full code, kids.