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 JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
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.