Author Topic: Possible Bug in v3.9.0  (Read 5628 times)

MooseMouse

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Possible Bug in v3.9.0
« on: June 10, 2015, 07:44:22 AM »
Last night I upgraded to both Unity 5.1.0f3 and NGUI 3.9.0. Now when I use keyboard input (horizontal and spacebar) while playing in the Editor, my mouse cursor freezes. This does not happen if I use onscreen buttons.

I updated the code to use the new controller stuff rather than the obsolete stuff (sorry I don't remember what it was), but the problem still happens after a few presses of the keyboard input. I can unfreeze the mouse cursor by pressing the "Esc" key, but it freezes up again with a few more presses of other keys.

I am, obviously, not sure this is an NGUI bug, but the changes to controller input listed on the release notes make me suspect NGUI is the problem. I apologize in advance if it is not. No time to troubleshoot further on my end right now.

I'm using a Mac Mini, latest OS.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Possible Bug in v3.9.0
« Reply #1 on: June 11, 2015, 06:09:40 AM »
I'm going to put up an update regarding cursor locking not working properly shortly. That said, pressing a keyboard key shouldn't cause it to lock, just a controller key. Do you have space bar bound to something specific? I tried it in the controller menu example that comes with NGUI and space bar doesn't cause the mouse to get locked.

MooseMouse

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Possible Bug in v3.9.0
« Reply #2 on: June 11, 2015, 07:00:19 AM »
The space bar is mapped to a "power slide" control of my game. I was pretty sure that just pressing the arrow keys to turn was causing the cursor lock, but I will try to check again and get back to you.

MooseMouse

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Possible Bug in v3.9.0
« Reply #3 on: June 11, 2015, 01:30:06 PM »
3.9.0b seems to fix it :)