OculusVR/OculusInput plugin does not return orientation and position without sensors being connected

Out teem has been migrating UE project from 4.15 to 4.18 and realized that we can no longer obtain position and orientation from touch controllers if the sensor is not plugged in. Is this behaviour intentional or is it a bug? Basically, the following ‘if’ statement in FOculusInput::GetControllerOrientationAndPosition() function prevents from giving expected results:


if (OVRP_SUCCESS(ovrp_GetNodeOrientationTracked2(Node, &bOrientationTracked)) && OVRP_SUCCESS(ovrp_GetNodePositionTracked2(Node, &bPositionTracked)) & (bOrientationTracked || bPositionTracked))

P.S.: not sure if this is an appropriate place for this question, excuse me in advance if it is to be moved somewhere else.