Reproduction steps:
1. Open the attached “RotationTransform.zip” project
2. Enter the Play mode
3. Select the “Cube” GameObject from the Hierarchy
4. Click the button in the Game view at least 4 times
5. Observe the “Cube” rotation values on the X-axis with each click
Expected result: “Cube” X-axis rotation value changes in such order: 0 > 90 > 180 (or -180) > -90 > 0
Actual result: “Cube” X-axis rotation value only changes to 90 and 180
Reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.4f1
Reproducible on: Windows 10 (by user), Windows 11
Not reproducible on: no other environment tested
Note: Rotation on the Y and Z axes works as expected