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
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
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.