2394425147 / astrodx

727 stars 32 forks source link

NullReferenceException when filtering by difficulty group 13 #58

Closed nxibjzC closed 4 months ago

nxibjzC commented 7 months ago

复现步骤 在难度13筛选时进行搜索,或在有搜索时切换至难度13
出现错误后无法再切换至难度13,从难度12+向13切换时无反应,再次点击切换后直接跳至难度13+,从13+同理

补充:在收藏夹分类时All代替了上述情况中的难度13

错误信息

NullReferenceException: Object reference not set to an instance of an object.

AstroDX.Contexts.Hub.LevelSelection.Stocking.LevelStock.CanMatch (AstroDX.Cache.DifficultyInfo level, System.String[]& tags) (at <00000000000000000000000000000000>:0)
AstroDX.Contexts.Hub.LevelSelection.Stocking.LevelStock+<Filter>d__1.MoveNext () (at <00000000000000000000000000000000>:0)
System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) (at <00000000000000000000000000000000>:0)
System.Linq.OrderedEnumerable`1+<GetEnumerator>d__1[TElement].MoveNext () (at <00000000000000000000000000000000>:0)
System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) (at <00000000000000000000000000000000>:0)
System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <00000000000000000000000000000000>:0)
AstroDX.Contexts.Hub.LevelSelection.LevelSelectionScreen.UpdateLevelsInView (System.Boolean useSelectedDifficulty) (at <00000000000000000000000000000000>:0)
AstroDX.Contexts.Hub.LevelSelection.LevelSelectionScreen.<InitializeComponents>b__31_0 () (at <00000000000000000000000000000000>:0)
UniRx.Observer+Subscribe`1[T].OnNext (T value) (at <00000000000000000000000000000000>:0)
UniRx.Operators.ThrottleObservable`1+Throttle[T].OnNext (System.UInt64 currentid) (at <00000000000000000000000000000000>:0)
UniRx.MainThreadDispatcher.UnsafeSend (System.Action action) (at <00000000000000000000000000000000>:0)
UniRx.Scheduler+MainThreadScheduler+<DelayAction>d__2.MoveNext () (at <00000000000000000000000000000000>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <00000000000000000000000000000000>:0)
UniRx.<DelayAction>d__2:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

设备信息