Author Topic: v3.11.3 UIDragDropItem movement not in line with cursor  (Read 412 times)

maaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
v3.11.3 UIDragDropItem movement not in line with cursor
« on: July 14, 2017, 08:00:27 PM »
Hi,

I recently upgraded the project to v3.11.3 with no other custom code changes. This issue has popped up where an item is being moved and the gameobject is no longer under the mouse but is moving all over the place. It gets dropped on wherever the mouse cursor is when released.

I havent changed anything else, except upgrade NGUI from v3.7 to 3.11.3. Any pointers will be much appreciated.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1160
  • Posts: 22,131
  • Toronto, Canada
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #1 on: July 15, 2017, 06:40:42 AM »
Did this also get fixed by updating to the latest, as per your http://www.tasharen.com/forum/index.php?topic=15086.0 post?

maaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #2 on: July 16, 2017, 05:44:09 PM »
No, unfortunately this is a result of the upgrade  :(
It was working just fine prior to the upgrade.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1160
  • Posts: 22,131
  • Toronto, Canada
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #3 on: July 22, 2017, 02:34:16 PM »
Alright, then I need steps to repro it on my end because it seems to be working as expected here.

maaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #4 on: October 14, 2017, 11:52:14 PM »
I tried to troubleshoot the issue playing with different NGUI and Unity versions.

Looks like something changed with NGUI in Unity 5 that I am unable to pinpoint. U4.5.2 and NGUI3.4.9 work perfectly.
The same NGUI 3.4.9 with Unity 5.5.2 moves the object disconnected from the mouse pointer.

Any pointers will be much appreciated since I am at a wall.

Thanks in advance.

maaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #5 on: October 15, 2017, 01:23:57 PM »
Some progress..phew!

Looks like the issue is with iOS and Android as the target platform. Works fine with Unity 5.5.2, NGUI 3.11.4 on the standalone platform.

I just sent a bare bones test scene to support [at] tasharen.com.
All and any help is much much appreciated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1160
  • Posts: 22,131
  • Toronto, Canada
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #6 on: October 19, 2017, 02:25:55 AM »
I didn't get any emails regarding this. Maybe try PMing me the download link here?

maaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #7 on: November 08, 2017, 10:36:45 PM »
Hi,

Very sorry for the delay in followup. I did not get a notification and was waiting for some direction.
Here is the downloadable test Assets folder: <link removed>

I'll keep a close eye on this thread.

Thanks a bunch in advance.
« Last Edit: November 09, 2017, 08:10:16 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1160
  • Posts: 22,131
  • Toronto, Canada
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #8 on: November 09, 2017, 08:11:08 PM »
When I said PM, I meant that -- private message. Posting NGUI's code in entirety in public is a violation of copyright, and is mentioned in a pinned post: http://www.tasharen.com/forum/index.php?topic=8314.0

maaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: v3.11.3 UIDragDropItem movement not in line with cursor
« Reply #9 on: November 10, 2017, 12:05:58 AM »
I'm so sorry about my confusion.  :-[ :(