e-ucm / uAdventure

Serious game editor for Unity based on eAdventure.
24 stars 5 forks source link

Error al duplicar una conversacion #43

Closed franlbc97 closed 5 years ago

franlbc97 commented 5 years ago

Al querer duplicar una conversación que usamos como plantilla para nuestros personajes, no nos deja duplicarla y salen 2 logs, un warning y un info respectivamente, estos son los logs que surgen. El warning Unexpected call to EndFadeGroup! Make sure to call EndFadeGroup the same number of times as BeginFadeGroup. UnityEditor.EditorGUILayout:EndFadeGroup() uAdventure.Editor.ButtonMenuEditorWindowExtension:LayoutDrawLeftPanelContent(GUIStyle, GUILayoutOption[]) uAdventure.Editor.<>c:<OnGUI>b__37_0(EditorWindowExtension) System.Collections.Generic.List1:ForEach(Action1) uAdventure.Editor.EditorWindowBase:OnGUI() UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) El info System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.at System.Collections.Generic.Dictionary2[uAdventure.Core.ConversationNode,uAdventure.Core.ConversationNode].get_Item (uAdventure.Core.ConversationNode key) [0x000a2] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150 at uAdventure.Core.Conversation.Clone () [0x00000] in <filename unknown>:0 at uAdventure.Core.GraphConversation.Clone () [0x00000] in <filename unknown>:0 at uAdventure.Editor.ConversationsListDataControl.duplicateElement (uAdventure.Editor.DataControl dataControl) [0x00000] in <filename unknown>:0 at uAdventure.Editor.DataControlList.OnDuplicate () [0x00000] in <filename unknown>:0 at uAdventure.Editor.DataControlList.<.ctor>b__9_8 (Rect rect, UnityEditorInternal.ReorderableList list) [0x00000] in <filename unknown>:0 at uAdventure.Editor.ButtonList.OnDrawFooter (Rect rect) [0x00000] in <filename unknown>:0 at ScrollableList.DoListFooter (Rect footerRect) [0x00000] in <filename unknown>:0 at ScrollableList.DoList (Single height) [0x00000] in <filename unknown>:0 at uAdventure.Editor.ColumnList.DoList (Single height) [0x00000] in <filename unknown>:0 at uAdventure.Editor.DataControlList.DoList (Single height) [0x00000] in <filename unknown>:0 at uAdventure.Editor.DataControlListEditorWindowExtension.LayoutDrawMenu (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) [0x00000] in <filename unknown>:0 UnityEngine.Debug:Log(Object) uAdventure.Editor.DataControlListEditorWindowExtension:LayoutDrawMenu(GUIStyle, GUILayoutOption[]) uAdventure.Editor.ButtonMenuEditorWindowExtension:LayoutDrawLeftPanelContent(GUIStyle, GUILayoutOption[]) uAdventure.Editor.<>c:<OnGUI>b__37_0(EditorWindowExtension) System.Collections.Generic.List1:ForEach(Action1) uAdventure.Editor.EditorWindowBase:OnGUI() UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

franlbc97 commented 5 years ago

Concretamente no me deja duplicar nada nada que tenga más de 1 nodo

Victorma commented 5 years ago

Esto se ha mencionado ya en #38 será tratado en esa issue