Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在加入scrollbar的时候,从最下方快速拉到最上方会有报错 #4

Open
pitaya-V opened this issue Apr 2, 2019 · 0 comments

Comments

@pitaya-V
Copy link

pitaya-V commented Apr 2, 2019

KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary2[System.Int32,UnityEngine.RectTransform].get_Item (Int32 key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) GridScroller.ChangeToIndex (Int32 from, Int32 to) (at Assets/Scripts/UI/UIBase/GridScroller.cs:248) GridScroller.SwapIndex (Int32 startIndex) (at Assets/Scripts/UI/UIBase/GridScroller.cs:235) GridScroller.OnValueChanged (Vector2 normalizedPosition) (at Assets/Scripts/UI/UIBase/GridScroller.cs:210) UnityEngine.Events.InvokableCall1[UnityEngine.Vector2].Invoke (Vector2 args0) (at D:/unity/Runtime/Export/UnityEvent.cs:207)
UnityEngine.Events.UnityEvent`1[UnityEngine.Vector2].Invoke (Vector2 arg0) (at D:/unity/Runtime/Export/UnityEvent_1.cs:58)
UnityEngine.UI.ScrollRect.LateUpdate () (at D:/unity/Extensions/guisystem/UnityEngine.UI/UI/Core/ScrollRect.cs:434)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant