Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug PS4 Controllers Don't Work in Windows Build but is fine in Editor

Discussion in 'Input System' started by ThatRaincoat, May 24, 2020.

  1. ThatRaincoat

    ThatRaincoat

    Joined:
    Jul 12, 2017
    Posts:
    27
    Working on moving our current project to the new Input System.

    Everything works perfectly in Editor however when building to Desktop only Xbox and Mouse/Keyboard Controls work.

    PS4 controllers both Wired and over Bluetooth do nothing.

    Odd since it works as intended in editor.

    We're using Unity 2019.3.10

    Anyone else have this issue?
     
  2. Solgryn

    Solgryn

    Joined:
    Jan 16, 2014
    Posts:
    8
    I'm having this issue as well.

    My controller works fine in the editor, reads as "DuelShock4GamepadHID" controller and input works.
    But as soon as I build the game and launch it, it reads 0 gamepads and controls dont work :c

    Newest build of input system and Unity 2019.3.14f1
     
  3. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    This is a known issue with HID support not working in the 32-bit Windows standalone player. With 1.0 of the input system, there should be a warning in the console when that player is selected.

    Switching to the x64 player should solve the problem.
     
  4. ThatRaincoat

    ThatRaincoat

    Joined:
    Jul 12, 2017
    Posts:
    27
    Thanks so much for the workaround!
    Controllers work as expected in builds with x64.
     
  5. Solgryn

    Solgryn

    Joined:
    Jan 16, 2014
    Posts:
    8
    Solved it for me, too c: thank you