Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - adb

Pages: [1]
1
Humm, I don't know that it is related to the UICamera and after having a look, there are indeed no options related to the anchoring or positioning of panels in there.

2
Using the latest 3.9.6d(?) version and Unity 5.3.1p3.

Two problems that I think share the same root cause. Both new with the new version (I upgraded from 3.7.4 I believe).

- GameObject, position 0, 0
  - UIRoot + Panel, localpos: 0, 0
     - UICamare, localpos: 0,0
     - UIWidget (Container): localpos: 0,0

With the setup for a new UIRoot like the above, the panel is displayed at (approx) 300,50 in the scene view (see attachment). Trying to anchor the UIWidget to the panel, result in it being anchored as if the panel was at 300,50 instead of 0,0.

I figured you wouldn't believe me so I recorded a 40s video of the problem happening in the editor: https://dl.dropboxusercontent.com/u/27068517/Screen%20Capture%20Tool_2016-01-23%2011.33.37.mov.

If there is no easy fix, I'd be happy to revert to an earlier version (my guess is that 3.9.6 with the new SetAnchor might be the problem), but I'm not on the PRO license.

Cheers,
Alain-Daniel


3
NGUI 3 Support / OnHover and touches (3.7.4)
« on: October 02, 2014, 12:44:38 PM »
Hello,

I have a button with a UIPlayTween script on it triggering on "On Hover". The tween it plays is a TweenColor. When I test on mobile, with a touch interface, the "On Hover" effect sticks on when I press the button: it turns on and doesn't go away.

I understand that there is no "hover" on mobile, but the game is a hybrid computer/mobile. I can work around by setting the UICamera to use only touch, but this feels like a bug, so I am reporting it.

Also, I tested the UIButton hover color change as well. It acts differently and is more reliable, but I still can get it to stick to the hover color (in this case alpha).

Cheers,
Alain-Daniel

4
NGUI 3 Support / Re: Error on quitting Android application
« on: January 21, 2014, 01:55:31 PM »
I'm having what I guess is the same issue, but on Windows Phone 8. It happens when the application Quits, every single time. Here is the exception thrown. It appears to be internal to Unity when resolving dc.gameObject in Destroy().

First-chance exception at 0x77C81ECF in TaskHost.exe: Microsoft C++ exception: Platform::NullReferenceException ^ at memory location 0x0416F4F8.

Exception: External component has thrown an exception.
Type: System.Runtime.InteropServices.SEHException
Module: UnityEngineProxy
InnerException: <No Data>
AdditionalInfo:Invoking UIPanel::OnDisable method with argument count: 0
   at UnityEngineProxy.InternalCalls.Component_CUSTOM_InternalGetGameObject(Object self)
   at UnityEngine.Component.get_gameObject()
   at UIDrawCall.Destroy(UIDrawCall dc)
   at UIPanel.OnDisable()
   at lambda_method(Closure , Object , Object[] , Int32 )
   at WinRTBridge.MethodTools.InvokeMethod(Object instance, Int32 methodIndex, Object[] args)

Pages: [1]