
0
Fixed
Error creating first unit from GetComponent
GetComponent: AITargetDetection (My Script)
Could be related to missing scripts?
NullReferenceException: Object reference not set to an instance of an object
Bolt.UnitOptionTree+<>c.<ParentChildren>b__41_1
(UnityEngine.Component c) (at
C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOptionTree.cs:367)
System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[UnityEngine.Component,System.Type].MoveNext ()
Bolt.UnitOptionTree+<ParentChildren>d__41.MoveNext
() (at
C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOptionTree.cs:367)
System.Collections.Generic.List`1[System.Object].AddEnumerable
(IEnumerable`1 enumerable) (at
/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:128)
System.Collections.Generic.List`1[System.Object]..ctor
(IEnumerable`1 collection) (at
/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:65)
System.Linq.Enumerable.ToArray[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:22)
Ludiq.FuzzyWindow+<>c__DisplayClass38_0.<EnterChild>b__0
() (at
C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:339)
Ludiq.FuzzyWindow.Work () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:993)
UnityEngine.Debug:LogException(Exception)
Ludiq.FuzzyWindow:Work() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:998)
Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Customer support service by UserEcho
This error may not have been related to Bolt because the prefab seemed to have been corrupted in the scene. (Applying the prefab crashed the error). Dropping in a fresh prefab and starting over worked fine.
Think I got it fixed for next version. Probably had to do with these missing script references.