Search Issue Tracker

Fixed

Votes

0

Found in [Package]

2.0.0a11

2019.3.11f1

Issue ID

UVSB-661

Regression

No

Unable to use a list of game objects as a parameter in a flow function

Package: Visual Scripting Bugs

-

When creating a function graph I'm unable to create a list of game objects as a parameter.

Steps to reproduce
1. Create a new class
2. In that class create a new flow function
3. Select the Flow function, click the drop down arrow to reveal Variables, Parameters, Results
4. Add a new List parameter or type game object
Notice issue >> The following errors appear.

{code:java}
Error drawing ValueInputDefinitionEditor
{code}

{code:java}
Inspector block accessor mismatch.
Started CardSelected (BoltClass).ClearSelection#5ebc6326#1423144960.parameterDefinitions.0, ended CardSelected (BoltClass).ClearSelection#5ebc6326#1423144960.parameterDefinitions.
UnityEngine.Debug:LogWarning(Object)
Ludiq.Inspector:EndBlock(Accessor) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Inspector.cs:794)
Ludiq.Inspector:EndBlock() (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Inspector.cs:779)
Ludiq.Inspector:DrawField(Rect, GUIStyle) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Inspector.cs:518)
Ludiq.ReflectedEditor:OnMemberGUI(Inspector, Rect) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Special/ReflectedEditor.cs:198)
Ludiq.ReflectedEditor:OnFooterGUI(Rect) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Special/ReflectedEditor.cs:176)
Ludiq.Bolt.GraphEditor:OnFooterFieldsGUI(Rect) (at Assets/Package/Bolt/Bolt.Core/Editor/Inspection/GraphEditor.cs:128)
Ludiq.Bolt.FlowGraphEditor:OnFooterFieldsGUI(Rect) (at Assets/Package/Bolt/Bolt.Flow/Editor/FlowGraphEditor.cs:67)
Ludiq.Bolt.GraphEditor:OnFooterGUI(Rect) (at Assets/Package/Bolt/Bolt.Core/Editor/Inspection/GraphEditor.cs:123)
Ludiq.Bolt.FlowGraphEditor:OnFooterGUI(Rect) (at Assets/Package/Bolt/Bolt.Flow/Editor/FlowGraphEditor.cs:50)
Ludiq.Editor:OnControlGUI(Rect) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Editor.cs:242)
Ludiq.Inspector:DrawControl(Rect) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Inspector.cs:456)
Ludiq.Inspector:DrawControlLayout(Single) (at Assets/Package/Bolt/Ludiq.Core/Editor/Inspection/Inspector.cs:858)
Ludiq.Bolt.ExplorerWindow:_OnGUI() (at Assets/Package/Bolt/Bolt.Core/Editor/Exploration/ExplorerWindow.cs:518)
Ludiq.LudiqEditorWindow:OnGUI() (at Assets/Package/Bolt/Ludiq.Core/Editor/Windows/LudiqEditorWindow.cs:140)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
{code}

!image-2020-05-13-15-40-16-988.png|thumbnail!

  1. Resolution Note:

    Fixed passing generic containers (List, Dictionary, etc.) as Flow Function input parameters

Add comment

Log in to post comment