
NullReferenceException:
Hi. Ludiq!
this is my situations.
purchasing, install and some setup done.
made 4 ~ 5 flow graph and 1 state machine.
build dev version and tested it on my android phone.(successfully)
- next day -
reopened my project with unit graph.
right mouse button clicked on a canvas graph...infinite loading in unit search dialog
and below is that log.
NullReferenceException: Object reference not set to an instance of an object
Bolt.UnitOptionTree+<>c.<CodebaseChildren>b__42_0 (System.Type t) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOptionTree.cs:375)
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext ()
System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.Type,Ludiq.Namespace].MoveNext ()
System.Collections.Generic.List`1[Ludiq.Namespace].AddEnumerable (IEnumerable`1 enumerable) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:128)
System.Collections.Generic.List`1[Ludiq.Namespace]..ctor (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:65)
System.Linq.Enumerable.ToArray[Namespace] (IEnumerable`1 source)
System.Linq.QuickSort`1[Ludiq.Namespace]..ctor (IEnumerable`1 source, System.Linq.SortContext`1 context)
System.Linq.QuickSort`1+<Sort>c__Iterator21[Ludiq.Namespace].MoveNext ()
System.Linq.Enumerable+<CreateDistinctIterator>c__Iterator3`1[Ludiq.Namespace].MoveNext ()
Bolt.UnitOptionTree+<CodebaseChildren>d__42.MoveNext () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOptionTree.cs:375)
Bolt.UnitOptionTree+<CategoryChildren>d__54.MoveNext () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOptionTree.cs:533)
System.Linq.Enumerable.Any[Object] (IEnumerable`1 source)
Ludiq.FuzzyWindow.Populate (Ludiq.FuzzyOptionNode node, IEnumerable`1 childrenValues, Nullable`1 cancellation) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:36)
Ludiq.FuzzyWindow+<>c__DisplayClass21_0.<Initialize>b__0 () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:236)
Ludiq.FuzzyWindow.Work () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:994)
UnityEngine.Debug:LogException(Exception)
Ludiq.FuzzyWindow:Work() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:999)
Customer support service by UserEcho
Edit :
This is fixed after [ On Tools / Bolt / Update Unit Options ]
remains this for others with same issue.
Hi Bunny,
Glad you got it fixed. The next version will have better error recovery (the whole finder won't stop working because of one errored option) and hopefully less of these errors.