I have an older Komatsu PC50mr-2 and only swings to the left. Also when you go arm in it wants to swing left too. Tested PpC pressure and it’s low but I swapped the lines for left and right swing at the joystick and still only swings left. I didn’t have the right tee to yes pressure at the MA and MB ports on the swing motor but I leaning towards that as the malfunction.
Check the check valves and safety valves on top of the slew motor