Unable to use "XRToolsFunctionPointer" in Godot

Godot Version

v4.3.stable.official [77dcf97d8]

Question

When I add “XRToolsFunctionPointer” provided by Godot XR tools to my XRcontroller,

I get an error at line 362 of res://addons/godot-xr-tools/functions/function_pointer.gd

Saying “Invalid access to property or key ‘position’ on a base object of type ‘null instance’.”

Where the null instance is $Laser.

Am I doing something wrong ?

There may be a scene to instantiate instead of just a node/script. The script requires many children, so it’s probably best to find the pointer through quick instantiate ctrl+shift+a or inside the addon’s folder.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.