Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Chaos Mage on January 06, 2014, 04:24:15 AM
-
I got this when dragging vertical scroll bar:
transform.localPosition assign attempt for 'Scroll View Panel' is not valid. Input localPosition is { 0.000000, NaN, 0.000000 }.
UnityEngine.Transform:set_localPosition(Vector3)
UIScrollView:SetDragAmount(Single, Single, Boolean) (at Assets/NGUI/Scripts/Interaction/UIScrollView.cs:501)
UIScrollView:OnVerticalBar() (at Assets/NGUI/Scripts/Interaction/UIScrollView.cs:561)
EventDelegate:Execute() (at Assets/NGUI/Scripts/Internal/EventDelegate.cs:225)
The scroll view contains grid with sprites. No error on grid with labels...
-
Is your scroll view's clip region not set? I'd need steps to repro the issue.
-
http://i.imgur.com/OiVGchc.jpg
-
You have the scroll view parented to a sprite, which it's also anchored to. It's fine with widgets, but may cause issues with panels. Make your scroll view a sibling of the sprite it's anchored to.
-
Ok, but it worked just fine in 3.0.7