I just created a new project in 2021.2.6f1, installed Bolt via Package Manger, but can’t even get through the setup wizard. It ends with this in the console:
NullReferenceException: Object reference not set to an instance of an object
Ludiq.Icons.GetScriptTypeIcon (System.String scriptName) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Icons.GetCustomTypeIcon (System.Type type, System.Boolean inherit) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Icons.Type (System.Type type) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Icons.Icon (System.Type type) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Bolt.LiteralDescriptor.DefinedIcon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitDescriptor`1[TUnit].Icon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitOption`1[TUnit].Icon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.LiteralOption.Icon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
So it doesn’t work at all, it doesn’t show anything in the search naturally since the setup didn’t finish, or so I guess. The only things I see in the search graph is this:
This is nowhere close to be production ready. Seriously, for a scripting solution one would expect something stable.
And I’m uninstalling it again … I don’t even want to think of using this with a beta when I see DLLs. What’s the point?
Here’s the full stacktrace in case anyone wants to fix this:
NullReferenceException: Object reference not set to an instance of an object
Ludiq.Icons.GetScriptTypeIcon (System.String scriptName) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Icons.GetCustomTypeIcon (System.Type type, System.Boolean inherit) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Icons.Type (System.Type type) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Icons.Icon (System.Type type) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Bolt.LiteralDescriptor.DefinedIcon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitDescriptor`1[TUnit].Icon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitOption`1[TUnit].Icon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.LiteralOption.Icon () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitOption`1[TUnit].<FillFromUnit>b__28_0 () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Ludiq.UnityAPI.Async (System.Action action) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Bolt.UnitOption`1[TUnit].FillFromUnit () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.LiteralOption.FillFromUnit () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitOption`1[TUnit]..ctor (Bolt.Literal unit) (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.LiteralOption..ctor (Bolt.Literal unit) (at <ed846bfb09c14080abb024b81e14cfae>:0)
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <31c0f51ac5a24a22ba784db24f4ba023>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <31c0f51ac5a24a22ba784db24f4ba023>:0)
System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <31c0f51ac5a24a22ba784db24f4ba023>:0)
System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <31c0f51ac5a24a22ba784db24f4ba023>:0)
System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) (at <31c0f51ac5a24a22ba784db24f4ba023>:0)
Ludiq.TypeUtility+<>c__DisplayClass8_0.<Instantiator>b__1 (System.Object[] args) (at <2050131b58a64bd6a8458ea32ce5ee1c>:0)
Ludiq.TypeUtility.Instantiate (System.Type type, System.Boolean nonPublic, System.Object[] args) (at <2050131b58a64bd6a8458ea32ce5ee1c>:0)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].CreateDecorator (System.Type decoratorType, TDecorated decorated) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].CreateDecorator (TDecorated decorated) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecorator (TDecorated decorated) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecorator[T] (TDecorated decorated) (at <af5e15b3589540ac94baeb6e74576eac>:0)
Bolt.XUnitOptionProvider.Option (Bolt.IUnit unit) (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitBase+<GetTypeOptions>d__12.MoveNext () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.UnitBase+<GetStaticOptions>d__10.MoveNext () (at <ed846bfb09c14080abb024b81e14cfae>:0)
System.Collections.Generic.HashSet`1[T].UnionWith (System.Collections.Generic.IEnumerable`1[T] other) (at <19f157554c514bbc99588e176244e375>:0)
System.Collections.Generic.HashSet`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <19f157554c514bbc99588e176244e375>:0)
System.Collections.Generic.HashSet`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) (at <19f157554c514bbc99588e176244e375>:0)
Bolt.UnitBase.Build () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.TypeOptionsPage.Complete () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Bolt.TypeOptionsPage.OnContentGUI () (at <ed846bfb09c14080abb024b81e14cfae>:0)
Ludiq.Page.DrawContent () (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.Wizard.OnGUI () (at <af5e15b3589540ac94baeb6e74576eac>:0)
Ludiq.WrappedEditorWindow.OnGUI () (at <af5e15b3589540ac94baeb6e74576eac>:0)
UnityEditor.HostView.OldOnGUI () (at <52409df47eec4ff4a3e5a5be37682d54>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <7b8bd44f4be74e768cd65ac1425c4485>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <c32c29e6e8d6415eb40bba0e41229e50>:0)


