-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
This happens when clicking the Invoke button during runtime on Scriptable Events.
Great package though!
TargetException: Object does not match target type.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <c2a97e0383e8404c9fc0ae19d58f57f1>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <c2a97e0383e8404c9fc0ae19d58f57f1>:0)
EasyButtons.Editor.ButtonWithParams.DrawInternal (System.Collections.Generic.IEnumerable`1[T] targets) (at Library/PackageCache/[email protected]/Editor/EasyButtons/ButtonWithParams.cs:42)
EasyButtons.Editor.Button.Draw (System.Collections.Generic.IEnumerable`1[T] targets) (at Library/PackageCache/[email protected]/Editor/EasyButtons/Button.cs:33)
GenericScriptableArchitecture.Editor.ScriptableEventHelperDrawer.DrawMethod (System.Collections.Generic.IEnumerable`1[T] targets) (at Library/PackageCache/[email protected]/Editor/ScriptableEvents/ScriptableEventHelperDrawer.cs:34)
GenericScriptableArchitecture.Editor.ScriptableEventEditor.OnInspectorGUI () (at Library/PackageCache/[email protected]/Editor/ScriptableEvents/ScriptableEventEditor.cs:74)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <0a0112aba4da4a0fb8c9c006141c0ff8>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
szunami and AlexanderGheorghe
Metadata
Metadata
Assignees
Labels
No labels