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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.