Visual Scripting Tool - Can't nand/or/nor/or function parameters

Magnus S shared this bug 3 years ago
Reported

In the visual scripting tool one can not use multiple function parameters as input in the same logical operation. On build the tool thows the following exception:

2020-10-25 00:55:30.479 - Thread:   1 ->  Error occured during the graph reconstruction: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at VRage.Game.VisualScripting.ScriptBuilder.MyVisualScriptNavigator..ctor(MyObjectBuilder_VisualScript scriptOb)
   at VRage.Game.VisualScripting.MyVisualScriptBuilder.Load()
2020-10-25 00:55:30.480 - Thread:   1 ->  Exception occured: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at VRage.Game.VisualScripting.ScriptBuilder.MyVisualScriptNavigator..ctor(MyObjectBuilder_VisualScript scriptOb)
   at VRage.Game.VisualScripting.MyVisualScriptBuilder.Load()
2020-10-25 00:55:30.554 - Thread:   1 ->  Error occured during the graph reconstruction: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at VRage.Game.VisualScripting.ScriptBuilder.MyVisualScriptNavigator..ctor(MyObjectBuilder_VisualScript scriptOb)
   at VRage.Game.VisualScripting.MyVisualScriptBuilder.Load()
2020-10-25 00:55:30.554 - Thread:   1 ->  Exception occured: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at VRage.Game.VisualScripting.ScriptBuilder.MyVisualScriptNavigator..ctor(MyObjectBuilder_VisualScript scriptOb)
   at VRage.Game.VisualScripting.MyVisualScriptBuilder.Load()

Also, why is there no And-Gate? Under logical functions?

Replies (1)

photo
2

Hello, Magnus!

Thank you for letting us know about this issue. This has been reported internally

Kind Regards

Laura, QA Department

Leave a Comment
 
Attach a file