I am getting the following error when clicking on a Scroll Bar whose contents are completely contained in a subpanel:
transform
.localPosition assign attempt
for 'SubPanel' is not valid
. Input localPosition
is { 0.000000, NaN,
0.000000 }.UnityEngine.Transform:set_localPosition(Vector3)
I am able to repro it in the NGUI Example 9 - Quest Log scene.
Steps:
1). Open the Example 9 - Quest Log scene.
2). Find the "SubPanel" game object, and change it's UIScrollView show condition to "Always".
3). Press Play and enter game view.
4). Expand the top two quests so that the scroll bar foreground shrinks.
5). Collapse the two expanded quests so that the scroll bar foreground expands to full height.
6). Click on the scroll bar and try to drag and the error will occur.
Thanks.