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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
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.