3 votes Vote

Function node throws errors when adding new Exit

Unity 2019.3.13f1, MM 2.0.2
Function node in the main graph sometimes throws following exceptions when adding new Exit the the Function's subgraph:
Draw Graph Window failed: System.ArgumentException: An item with the same key has already been added. Key: e048307e-de58-4330-b61b-eb1911d4bf8d
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in :0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at MapMagic.Nodes.GraphExtensions.CompileGraphGuidLut (MapMagic.Nodes.Graph graph) [0x0001d] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Nodes\Exposed.cs:209
at MapMagic.Nodes.Exposed.ReadOverride (MapMagic.Nodes.Graph graph, System.Collections.Generic.Dictionary`2[TKey,TValue] ovd) [0x00001] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Nodes\Exposed.cs:83
at MapMagic.Nodes.GUI.BiomesEditors.DrawFunction (MapMagic.Nodes.Biomes.Function200 fn) [0x00136] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Generators\Biomes\Editor\BiomesEditors.cs:148
at Den.Tools.GUI.Draw.Invoke[T] (System.Delegate action, T obj, System.Object[] args) [0x0001e] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Tools\GUI\Editor\Draw.cs:1312
at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Type,System.Delegate,object,object[])
at Den.Tools.GUI.Draw.Editor (System.Object obj, System.Object[] args, System.String cat) [0x000bf] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Tools\GUI\Editor\Draw.cs:1301
at MapMagic.Nodes.GUI.GeneratorDraw.DrawGenerator (MapMagic.Nodes.Generator gen, MapMagic.Nodes.Graph graph, System.Boolean selected) [0x00195] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Nodes\Editor\GeneratorDraw.cs:85
at MapMagic.Nodes.GUI.GraphWindow.DrawGraph () [0x003a1] in D:\_ProjectsMine\eclipse\Assets\3rdParty\MapMagic\Nodes\Editor\GraphWindow.cs:276
UnityEngine.Debug:LogError(Object)
MapMagic.Nodes.GUI.GraphWindow:DrawGraph() (at Assets/3rdParty/MapMagic/Nodes/Editor/GraphWindow.cs:280)
Den.Tools.GUI.UI:Draw(Action, Boolean, Boolean) (at Assets/3rdParty/MapMagic/Tools/GUI/Editor/UI.cs:188)
Den.Tools.GUI.c__DisplayClass25_0:b__0(Int32) (at Assets/3rdParty/MapMagic/Tools/GUI/Editor/UI.cs:64)
UnityEditor.EditorWindow:BeginWindows()
MapMagic.Nodes.GUI.G

Refeas, 18.05.2020, 18:56
Idea status: completed

Comments

Leave a comment