I too have this problem with Zwift. If I ride over 90 minutes I have knee pain too, I just make sure I don't do that and remember to stand and ride. Also every 30 minutes I jump off and walk on the treadmill for 5 minutes and do a few quick stretches. That has keep the pain away for me.