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

Build game changes Controller Bindings....Wat up?

Discussion in 'Input System' started by JesperGreen, Aug 5, 2020.

  1. JesperGreen

    JesperGreen

    Joined:
    Jul 28, 2020
    Posts:
    33
    Hi all.

    So i made a scene with a CAD model and few object.
    Using a guide from YouTube i changed the controller bindings and it works great.
    In fact, all i good when i PLAY the game/scene.

    BUT!!
    When i Build the game, then the controllers revert to default.
    The same thing with another scene i have made.

    What is that about? :confused:
     
  2. JesperGreen

    JesperGreen

    Joined:
    Jul 28, 2020
    Posts:
    33
    I found the solution, in case someone else have the same problem :)

    https://steamcommunity.com/app/358720/discussions/0/1734342161853608849/


    1. Unitiy Editor -> Window -> Steam VR Input -> "Open Binding UI" opens the "Developer Binding for Vive Controller ..." (as you already did)
    2. Do your settings
    3. Press: "Replace dafault binding": this replaces the according *.json files (bindings_vive_controller.json) in your unity game development storage location
    4. Build your game exe
    5. The bindings are now correctly exported to your game exe location and are saved in bindings_vive_controller.json
    6. start your game exe -> the controller should work properly now