Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3
2019.3.10f1
2019.4
2020.1
2020.2
2021.1
Issue ID
1249342
Regression
No
When entering Play Mode with a plugged in PS4 controller the Game View is stuck on the vertical axis
Reproduction steps:
1. Open the user's attached project "a98173238e8b17e4f80f9c3fdeff82ad.zip"
2. In the Project window open Assets/FPS/Scenes/MainScene
3. Enter Play Mode and observe the Game View
4. Exit Play Mode and plug in the PS4 controller
5. Enter Play Mode
Expected result: The Game View is not stuck on the vertical axis
Actual result: The Game View is stuck on the vertical axis
Reproducible with: 2019.3.15f1, 2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a7
Couldn't test with: 2018.4.29f1(missing references, scripts)
Notes:
- The issue doesn't reproduce with Xbox 360 Wireless controller
- The issue doesn't reproduce with Xbox One controller
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on "The GUID inside 'Assets/asset.png.meta' cannot be extracted by the YAML Parser." when opening the project
- Shadows disappear when looking at a certain angle in Scene view and using Cloud Shadows with Volumetric Clouds
- StackOverflowException freezes or silently crashes the Editor
- Microsoft Surface Device freezes when detaching and reattaching physical keyboard attachment to a Microsoft Surface device in Standalone Player for Windows
- Shadows are cast with artifacts on GameObjects when the light type is set to Point
Resolution Note (2021.2.X):
Playstation gamepad (DS4) uses different Axis than Xbox controller, in which the right thumbstick horizontal and vertical movement map to Axis 3 and 6 in Unity respectively. In the attached repro project, Axis 4 and 5 are mapped to the "Look X" and "Look Y", which are correct for Xbox gamepad but incorrect for DS4 resulting in the wonky input.
Here's the complete button/axis mapping for DS4 gamepads on Windows 10: https://ritchielozada.com/2016/11/21/playstation-4-dual-shock-controller-input-mapping-with-unity-on-windows-10/
We strongly recommend you switch to the new Input System, which doesn't have this problem.