Search Unity

Bolt issue since unity update (v2021.2.8f1)

Discussion in 'Assets and Asset Store' started by LVS-Prod, Jan 17, 2022.

  1. LVS-Prod

    LVS-Prod

    Joined:
    Jun 8, 2018
    Posts:
    2
    Since i made my unity update bolt is not working any more.
    In did, when i generate at the end of bolt setup wizard nothing happen and i have this error 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)
    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 <47ab72e0328040438980f9c23608e1ec>: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 <47ab72e0328040438980f9c23608e1ec>:0)
    System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <47ab72e0328040438980f9c23608e1ec>:0)
    System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <47ab72e0328040438980f9c23608e1ec>:0)
    System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) (at <47ab72e0328040438980f9c23608e1ec>: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 <4392bd4b1cc44e5fa38e8fbdbabf7b07>:0)
    System.Collections.Generic.HashSet`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <4392bd4b1cc44e5fa38e8fbdbabf7b07>:0)
    System.Collections.Generic.HashSet`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) (at <4392bd4b1cc44e5fa38e8fbdbabf7b07>: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 <13c5ad68fffb46969f1ca1df233d1e4d>: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 <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcher.OpenGate () (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <58085240a2cd4366bdae33738b2acb74>:0)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <464bcd4c167d4c539e296006dd3ee76a>:0)


    Nothing as changed in my project juste the version of Unity. Any clues??
     
  2. LVS-Prod

    LVS-Prod

    Joined:
    Jun 8, 2018
    Posts:
    2
    No one to help?
     
  3. Smitthe

    Smitthe

    Joined:
    Mar 15, 2022
    Posts:
    2
    im getting the same error
     
  4. Smitthe

    Smitthe

    Joined:
    Mar 15, 2022
    Posts:
    2
  5. astropicard

    astropicard

    Joined:
    May 25, 2022
    Posts:
    1
    I am getting the same message
     
  6. Deleted User

    Deleted User

    Guest

    ts.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <1da1b2a154bb4dda9058354c76a65e4e>:0)
    UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <1da1b2a154bb4dda9058354c76a65e4e>:0)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <1da1b2a154bb4dda9058354c76a65e4e>:0)
    UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <1da1b2a154bb4dda9058354c76a65e4e>:0)
    UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <1da1b2a154bb4dda9058354c76a65e4e>:0)
    UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <1da1b2a154bb4dda9058354c76a65e4e>:0)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (a
     
  7. MatheusBoscariol

    MatheusBoscariol

    Joined:
    Apr 9, 2021
    Posts:
    1
    Also get that error
     
  8. zhnzrx

    zhnzrx

    Joined:
    Aug 16, 2022
    Posts:
    1
    Bolt 1.4.15 or any version of Bolt Asset store will not be supported for Editor 2021 or higher

    Bolt 1.4.15 (asset store) is only supported for 2020, 2019, and 2018.
    If the user wants to use Bolt with 2021.2 or 22.1 they need to migrate their project to use Visual Scripting 1.7.6 which is the current version on the package manager.