I get the following error a lot. I've figured out that it means it can't find a node I'm linking to - it came up when I was trying to merge because I was trying to bring in scripts that only had the updated nodes in it, and couldn't find the hub. But it's also happening when I bring in scripts with bad whitespace. Is there a way to have this throw a debug error telling me which node it failed to find, or which node the failure happened in?
Code: Select all
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
PixelCrushers.DialogueSystem.Yarn.YarnConverter.ResolveDialogueEntryLinks (PixelCrushers.DialogueSystem.Yarn.BlockStatement block, PixelCrushers.DialogueSystem.DialogueEntry previousEntry) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Editor/Tools/Importers/Yarn/YarnConverter.cs:547)