Tronxy X5S losing steps during print
I had the same issue with my X5S when I first got it assembled. Because it's CoreXY, if one pulley slips, you'll skip steps in the diagonal. Check both set screws on your pulleys for the X and Y.