0
Fixed

Bug by misclick

gromerr 2 years ago updated by Hadi Liega 1 month ago 5

Hello, I found one bug in tutorial and general in Bolt
https://support.ludiq.io/knowledge-bases/40/articles/426-6-doors-keys

By misclick I connect node in wrong place.


Now I get 999+ errors and cannot edit/open flow machine.
It will be great if you secure that mistakes by users because u can lose all your logic in graph.


InvalidConversionException: Cannot convert from 'UnityEngine.Sprite' to 'UnityEngine.UI.Image'.
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type, ConversionType conversionType) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:471)
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:215)
Bolt.UnitDescriptor`1+<ValueInputWarnings>d__30[Bolt.SetMember].MoveNext () (at C:/Users/lazlo/Projects/Ludiq/Bolt.Flow/Editor/Description/UnitDescriptor.cs:380)
Bolt.UnitDescriptor`1+<Warnings>d__29[Bolt.SetMember].MoveNext () (at C:/Users/lazlo/Projects/Ludiq/Bolt.Flow/Editor/Description/UnitDescriptor.cs:269)
System.Linq.Enumerable+<CreateCastIterator>c__Iterator0`1[System.Object].MoveNext ()
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Object].MoveNext ()
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.ConversionUtility.EnumerableToListConversion (System.Object value, System.Type listType) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:428)
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type, ConversionType conversionType) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:500)
Rethrow as InvalidConversionException: Failed to convert from 'Bolt.UnitDescriptor`1+<Warnings>d__29[Bolt.SetMember]' to 'System.Collections.Generic.List`1[Bolt.Warning]' via EnumerableToList.
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type, ConversionType conversionType) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:511)
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:215)
Ludiq.DescriptionAssignment._Run (IDescriptor descriptor, IDescription description) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Descriptors/DescriptionAssignment.cs:74)
Ludiq.DescriptionAssignment.Run (IDescriptor descriptor, IDescription description) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Descriptors/DescriptionAssignment.cs:42)
Ludiq.Descriptor`2[TTarget,TDescription].Describe () (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Descriptors/Descriptor.cs:38)
Bolt.UnitDescriptor`1[TUnit].Describe () (at C:/Users/lazlo/Projects/Ludiq/Bolt.Flow/Editor/Description/UnitDescriptor.cs:42)
Ludiq.DescriptorProvider.GetDecorator (IDescribable decorated) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Descriptors/DescriptorProvider.cs:32)
Ludiq.XDescriptorProvider.Descriptor (IDescribable target) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Descriptors/DescriptorProvider.cs:62)
Ludiq.XDescriptorProvider.Description[UnitDescription] (IDescribable target) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Descriptors/DescriptorProvider.cs:77)
Bolt.XUnitDescription.Description (IUnit unit) (at C:/Users/lazlo/Projects/Ludiq/Bolt.Flow/Editor/Description/UnitDescription.cs:40)
Bolt.UnitWidget`1[Bolt.IUnit].Cache (Boolean manual) (at C:/Users/lazlo/Projects/Ludiq/Bolt.Flow/Editor/Units/UnitWidget.cs:99)
Ludiq.Widget`1[Bolt.IUnit].CalculatePosition ()
Ludiq.Widget`1[Bolt.IUnit].BeforeGUI ()
Ludiq.Canvas`1[TGraph].BeforeGUI ()
Ludiq.Canvas`1[TGraph].OnGraphGUI ()
Ludiq.GraphWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)


Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Working on Fix

Thanks for the report, I thought I had fixed these issues. I'll have another look.

In the mean time, you can disable "Value Prediction" in the Bolt editor preferences and your graph should be able to open again.

Thanks for answer, I disable for moment this option and can edit graph


Fixed in Beta

Will be fixed in v.1.3 stable.

now its me get the error with the tutorial