Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: iEpic on July 07, 2014, 04:45:58 PM
-
Please help!
I have no idea how to fix this but I am very far in my game development and I cannot open the action browser and get this error.
ArgumentException: An element with the same key already exists in the dictionary.
System.Collections.Generic.Dictionary`2[System.Type,UnityEngine.Object].Add (System.Type key, UnityEngine.Object value) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:404)
HutongGames.PlayMakerEditor.FsmEditorUtility.BuildActionScriptLookup ()
HutongGames.PlayMakerEditor.FsmEditorUtility.BuildActionsList ()
HutongGames.PlayMakerEditor.ActionSelector.Initialize ()
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
when I double click on it, it brings me to this
private void Update()
{
if (Initialized && fsmEditor != null)
{
fsmEditor.Update();
}
}
How can I fix this??
-
Hi,
this typically happens when you have updated an action and it's slightly different, like the properties are different. Can you recall any such thing as custom actions downloading prior this error?
bye,
Jean
-
This can happen if you have duplicate action names in different namespace (fixed in the next update). Did you recently add new custom actions to the project?