Search Unity

Xbox One controller sometimes double input

Discussion in 'Windows' started by GustavNinja, Oct 19, 2016.

  1. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
    Working on a game where the controller works perfectly fine in the Editor but during the build or debug mode in UWP it sometimes does a double input. I haven't found a solution yet and I was wondering if anyone knows what might be the case? Is it the new windows 10 update?

    I'm using Unity Input for the controller.
    And I have Microsoft Windows [Version 10.0.14393]

    Regards
    Gustav
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    No idea what could cause this - never seen it before. Are you able to consistently reproduce it?
     
  3. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
    Yes on two different computers I have the same problem. I was thinking that it might be the controllers but I have two and the same controller works just fine on Xbox. And so far I only seem to have it on the main buttons XYAB.

    I'm using the KeyCode.JoystickButton0 ~ 4 for them.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Any chance you could make a small project which demonstrates an issue an submit a bug so we could look at it?
     
  5. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
    I'll try getting something done by tomorrow. I'll make an empty project and put in the basics and test it out in UWP.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
  7. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
    Hi, sorry for the late response. This is a simple move a cube project with basics input UI and logs. UWP app inside with project. This is built in Unity 5.4.1p4.
    Hopefully you can find something from this.

    I did test this project in 5.4.1p2 and I seem to have less problems with it. I will try it more tomorrow and give you an update with that.

    I reported it to Unity bugs now.
     
    Last edited: Oct 20, 2016
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Can you submit this information through the editor (help -> report a bug), and then tell me the case number?
     
  9. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
    Case number: 843484

    Thank you
     
  10. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Could you elaborate on that? What do you mean you cannot build with it?
     
  12. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    96
    Okay I could finally build on 5.4.1p3 but I had to build it inside my project, placing the build in an outside folder gave the build an error and got cancelled.

    I also right now did a full reset of the project and reinstalled 5.4.1p4 and now it works as intended. I'm sorry for any confusion regarding this.