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))

Could you check which of the two functions fails when the sensors are disconnected?

Hello. Sorry for such a long delay, we’ve actually decided to stick to 4.15 for now. But i’ve tried debugging that function in 4.18 - both calls return success, but the values of bOrientationTracked and bPositionTracked are equal to zero. That’s why that branch is unreachable.