Topic was automatically imported from the old Question2Answer platform.
Asked By
new-gen23
I downloaded the OpenVR demo for Godot and loaded it into the Godot engine. When I run the demo, I can also see it starting my HTV Vive. Steam confirms that the HMD and the controllers are reachable.
However, the Demo always immediately dies with the error:
E 0:00:01:0761 Condition ’ p_tracker_id == 0 ’ is true. returned: __null
servers/arvr_server.cpp:305 @ find_by_type_and_id()
I have no clue there this check is defined. Is this a bug in GODOT or in the ARVR extension?
I came across this error, too.
For me, nothing died though.
However the editor did spam this error message.
I was working with a scene like in the ‘gui_in_3d’ demo:
root
|-- Mesh
|--Viewport
|-- 2D GUI
where the mesh was using a material, with a viewport texture.
In this situation, the editor gave an error ViewportTexture: Path to node is invalid.
and then lots of errors, like from the original question.
What helped for me was to switch the order of the nodes:
root
|--Viewport
|-- 2D GUI
|-- Mesh
and saving, closing and re-open the scene.
(This way the viewport node is present in the tree, once the texture is iniitialized, and no more errors are thrown.