Skip to main content
New Participant
May 16, 2015

0.6.0 Error - Input Button is not set up

Hey everyone,

I've been developing for the rift for about half a year in Unity, and with the new release, I wanted to update my game. I made a new project first to make sure everything went well first, so this is a brand new project I'm using. When I import the new package and drop a OVRPlayerController into the scene with only a plane to run around on, I keep getting the error

ArgumentException: Input Button Desktop_Up is not setup.
To change the input settings use: Edit -> Project Settings -> Input
OVRGamepadController.DefaultReadButton (Button button) (at Assets/OVR/Scripts/Util/OVRGamepadController.cs:292)
OVRGamepadController.GPC_GetButton (Button button) (at Assets/OVR/Scripts/Util/OVRGamepadController.cs:303)
OVRPlayerController.UpdateMovement () (at Assets/OVR/Scripts/Util/OVRPlayerController.cs:226)
OVRPlayerController.Update () (at Assets/OVR/Scripts/Util/OVRPlayerController.cs:174)


I have tried making this Input type in the Input Manager, but I have to put in every Desktop Input type into the manager including things like Desktop_Down and Desktop_Button A, etc. This doesn't seem to be what I need to do, as before the update I used to be able to literally drop the OVRPlayerController prefab into the scene and begin running around in scene right away.

For reference I am using Unity version 5.0.2f1. Anyone have any ideas? Thanks!
    This topic has been closed for replies.

    26 replies

    New Participant
    May 20, 2015
    Thank you cubic9com this helped out a lot.
    Participant
    May 22, 2015
    I made a Unity 4 version incase anyone is still working in that.
    Up and Coming
    May 25, 2015
    I need some help please, to understand what is going on here...

    I made a new project using SDK 0.6.0 and I can see (referring to the attached image) that w.a.s.d buttons are already assigned to vertical and horizontal moving directions, so why are they not working?

    What exactly should I do when you say: Just add the following inputs in the input manager...

    I can see the screenshot attached by rubixcube6, but could someone please explain how I do that? Do I add and define new input Desktop_ etc...?

    Thank you

    input.PNG
    Inspiring
    May 25, 2015
    The easiest way is to just copy they contents of the zip file into your project settings.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    May 27, 2015
    I'm currently using Unity 5.0.0 . The patch for 4.x users worked for me but not the patch for 5.0.2. If someone else is before 5.0.2, take the 4.x version, works wonder.

    Thanks for sharing it with us.
    New Participant
    May 29, 2015
    Thanks cubic9com.

    This saved my day.
    Up and Coming
    May 29, 2015
    I got this while trying to import cubic9com's ImputManager asset "You are trying to import an asset which contains a global game manager. This is not allowed."

    heh.

    Unity 4.6.4f1

    edit: I'm an idiot, actually followed directions this time "Unzip it and replace "InputManager.asset" file in "ProjectSettings" folder in your project with my "InputManager.asset"" Bingo. Thanks for this <3
    http://www.quitenice.co
    Up and Coming
    June 5, 2015
    "cybereality" wrote:
    The easiest way is to just copy they contents of the zip file into your project settings.


    It would be nice if all the recommend project settings for desktop could be included into the package (into an extra folder for copy/paste). Like it was done with the mobile integration.
    Inspiring
    June 5, 2015
    Yes, they were supposed to be but somehow weren't included in error. Sorry.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    June 10, 2015
    Thanks cubic9com works like a charm. :mrgreen: