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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Problem with "jump" button in the editor.

Discussion in 'Editor & General Support' started by boothj1985, Aug 30, 2015.

  1. boothj1985

    boothj1985

    Joined:
    Jul 15, 2012
    Posts:
    154
    This error only occurs in the editor and started a day or two ago. To make sure it's not an issue with the concerning script I cut & paste the same script from a backed up version of my project from a few months ago and the malfunction persisted. It's simply that when the game's paused, the "Quit Game" button doesn't respond to the "Jump" button when highlighted unless pressed by the spacebar instead of the x360 pad.

     
  2. boothj1985

    boothj1985

    Joined:
    Jul 15, 2012
    Posts:
    154
    Not sure what it could be. I'd say just keep experimenting and hopefully something will be revealed.
     
  3. boothj1985

    boothj1985

    Joined:
    Jul 15, 2012
    Posts:
    154
    Alright, thanks.
     
  4. danw_unity

    danw_unity

    Unity Technologies

    Joined:
    Oct 16, 2014
    Posts:
    27
    Hi,

    Just to confirm: you used to get "true" returned from Input.GetButtonDown("Jump") when pressing A on the Xbox 360 pad, but then something changed and now you don't.

    I would think that the Input settings (Edit menu->Project Settings->Input) got messed up. Jump is configured by default to accept joystick input, but a few accidental clicks on drop-downs could deactivate that. Do any Xbox 360 pad inputs work? It might be worth testing this in a new test project, to isolate the problem from any other effects. At least you can use a new project to look at the default settings for the Jump input.

    Let me know if that helps.

    Dan
    Unity Support
     
  5. boothj1985

    boothj1985

    Joined:
    Jul 15, 2012
    Posts:
    154
    It's true but the context is that it's when the game's paused. I found that GetButton works instead so is there something about the timeScale being at 0 that makes GetButtonDown or GetButtonUp(I tried it as well) not be registered? There's a tiny chance I just never noticed but my development process for the particular game was very extensive and I probably literally played it over a 1000 times so I doubt that I just never came across it.
     
  6. Ben-Stoneman

    Ben-Stoneman

    Services Support

    Joined:
    Jan 19, 2012
    Posts:
    52
    @boothj1985 - What version of unity are you using exactly?

    I will try to recreate this in a new project.
     
  7. boothj1985

    boothj1985

    Joined:
    Jul 15, 2012
    Posts:
    154
    If it is just too mysterious I won't worry about it so long as it doesn't interfere with any other aspects of the development process. The really odd thing about it is, I tested older backed up versions of the project and this seemingly new malfunction occurs with them, even one I'd placed on my mother's laptop long ago. Not only that but I tried it with an old just-for-pc, gamepad I had long before I even before I started development and it occurs with it too.