title: Why is Unity repeatedly giving me the same "XRStats::SetStatFloat failed" error?
body: <p>I'm developing a VR application in Unity using Unity XR.
  After programming for a while, my console showed the same error repeatedly:</p>
  <blockquote>
  <p>XRStats::SetStatFloat failed. Stats queue full! Stats for this frame
  will be lost.</p>
  </blockquote>
  <p>I read that you should remove the <em>Test framework package</em> but this was without success.</p>
  <pre><code>void Start()
  {
      List&lt;InputDevice&gt; devices = new List&lt;InputDevice&gt;();
      InputDeviceCharacteristics rightControllerCharacteristics = InputDeviceCharacteristics.Right | InputDeviceCharacteristics.Controller;
      InputDevices.GetDevicesWithCharacteristics(rightControllerCharacteristics, devices);
  
      foreach (var item in devices)
      {
          Debug.Log(item.name + item.characteristics);
      }
  
      if(devices.Count &gt; 0)
      {
          targetDevice = devices[0];
      }
  }
  
  
  void Update()
  {
      targetDevice.TryGetFeatureValue(CommonUsages.primaryButton, out bool primartButtonValue);
      if (primartButtonValue)
      {
          Debug.Log(&quot;Primary trigger&quot;);
      }
  
      targetDevice.TryGetFeatureValue(CommonUsages.trigger, out float triggerValue);
  }
  </code></pre>
  <p>I removed the script that is referenced above and still getting the same message. I've tried removing and installing all XR plugins but nothing works.</p>