Search Issue Tracker

Fixed in 1.5.1-pre.3

Fixed in 1.4.14

Votes

0

Found in [Package]

1.4.10

Issue ID

BOLT-688

Regression

No

Select on Enum doesn't work with the RuntimePlatform enum

Package: Bolt

-

[Original Issue Link|https://support.ludiq.io/communities/5/topics/5019-select-on-enum-doesnt-work-with-the-runtimeplatform-enum] - Pending Review.

----

Scripting API entry for it: https://docs.unity3d.com/ScriptReference/RuntimePlatform.html

{code:java}
[Warning] Failed to define SelectOnEnum#8da8c...:
System.ArgumentException: Duplicate input for '%MetroPlayerX86' in Bolt.SelectOnEnum.
at Bolt.Unit.EnsureUniqueInput (System.String key) [0x0002a] in C:\Users\lazlo\Projects\Bolt1\Package\Bolt.Flow\Runtime\Unit.cs:269
at Bolt.Unit.ValueInput (System.Type type, System.String key) [0x00000] in C:\Users\lazlo\Projects\Bolt1\Package\Bolt.Flow\Runtime\Unit.cs:315
at Bolt.Unit.ValueInput[T] (System.String key) [0x00000] in C:\Users\lazlo\Projects\Bolt1\Package\Bolt.Flow\Runtime\Unit.cs:323
at Bolt.SelectOnEnum.Definition () [0x00070] in C:\Users\lazlo\Projects\Bolt1\Package\Bolt.Flow\Runtime\Framework\Control\SelectOnEnum.cs:54
at Bolt.Unit.Define () [0x00015] in C:\Users\lazlo\Projects\Bolt1\Package\Bolt.Flow\Runtime\Unit.cs:149
Unit.Define() C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Runtime/Unit.cs:158

UnitWidget`1.DrawSettings() C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Editor/Units/UnitWidget.cs:821

UnitWidget`1.DrawForeground() C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Editor/Units/UnitWidget.cs:751

Canvas`1.DrawWidgetsForeground() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Editor/Canvases/Canvas.cs:1464

Canvas`1.OnGUI() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Editor/Canvases/Canvas.cs:276

GraphWindow.OnGUI() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Editor/Window
{code}

  1. Response avatar

    Resolution Note (fix version 1.5.1-pre.3):

    SelectOnEnum node has now the same behaviour as SwitchOnEnum node.
    Duplicated enum values and obsolete enums are hidden.

  2. Response avatar

    Resolution Note (fix version 1.4.14):

    backport: SelectOnEnum node has now the same behaviour as SwitchOnEnum node.
    Duplicated enum values and obsolete enums are hidden.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.