0
Will Not Fix

Cannot convert from 'UnityEngine.RectTransform' to 'UnityEngine.Vector3'.

김진실 3 weeks ago updated 2 weeks ago 2


Hi. I am not good at English.
I'm going to make an Object Drag and Drop.
But it doesn't work.
I don't know why.
There's an error message.

InvalidConversionException: Cannot convert from 'UnityEngine.RectTransform' to 'UnityEngine.Vector3'.
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type, Ludiq.ConversionUtility+ConversionType conversionType) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:472)
Ludiq.ConversionUtility.Convert (System.Object value, System.Type type) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Runtime/Reflection/ConversionUtility.cs:215)
Bolt.Flow.GetValue (Bolt.ValueInput input, System.Type type) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Flow.cs:590)
Bolt.Flow.GetConvertedValue (Bolt.ValueInput input) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Flow.cs:600)
Bolt.SetMember.Assign (Bolt.Flow flow) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Framework/Codebase/SetMember.cs:117)
Bolt.Flow.InvokeDelegate (Bolt.ControlInput input) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Flow.cs:447)
Bolt.Flow.Invoke (Bolt.ControlOutput output) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Flow.cs:341)
Bolt.Flow.Run (Bolt.ControlOutput port) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Flow.cs:244)
Bolt.EventUnit`1[TArgs].Run (Bolt.Flow flow) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Framework/Events/EventUnit.cs:179)
Bolt.EventUnit`1[TArgs].Trigger (Ludiq.GraphReference reference, TArgs args) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Framework/Events/EventUnit.cs:150)
Bolt.EventUnit`1+<>c__DisplayClass14_0[TArgs].b__0 (TArgs args) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Flow/Runtime/Framework/Events/EventUnit.cs:69)
Bolt.EventBus.Trigger[TArgs] (Bolt.EventHook hook, TArgs args) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Core/Runtime/Events/EventBus.cs:72)
Bolt.EventBus.Trigger[TArgs] (System.String name, UnityEngine.GameObject target, TArgs args) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Core/Runtime/Events/EventBus.cs:81)
Bolt.UnityMessageListener.OnEndDrag (UnityEngine.EventSystems.PointerEventData eventData) (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Bolt.Core/Runtime/Events/UnityMessageListener.cs:89)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IEndDragHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/Program Files/Unity/Hub/Editor/2020.1.3f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:78)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/Program Files/Unity/Hub/Editor/2020.1.3f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Hub/Editor/2020.1.3f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:376)

Unity Version:
2020.1.3f1
Peek Version:
Will Not Fix

Hello,

This is the Peek support forum, not Bolt.

You should now head to the Unity forums for Bolt support since the Unity acquisition:

https://forum.unity.com/forums/visual-scripting.537/