Code: Select all
.GetComponent<FactionMember>().faction
I've noticed this happens after saving the game many times... there shouldn't be anything that'd changing the faction ids/names in the saving/loading process, right?
Code: Select all
.GetComponent<FactionMember>().faction
Code: Select all
InvalidOperationException: Queue empty.
System.Collections.Generic.Queue`1[T].Dequeue () (at <e40e5a8f982c4b618a930d29f9bd091c>:0)
PixelCrushers.LoveHate.FactionMember.DeserializeFromString (System.String s) (at Assets/Plugins/Pixel Crushers/LoveHate/Scripts/Core/Faction Members/FactionMember.cs:1208)
PixelCrushers.DialogueSystem.LoveHate.PersistentFactionMember.OnApplyPersistentData () (at Assets/Plugins/Pixel Crushers/Dialogue System/Third Party Support/LoveHate Support/Scripts/PersistentFactionMember.cs:44)
UnityEngine.GameObject:SendMessage(String, SendMessageOptions)
PixelCrushers.DialogueSystem.Tools:SendMessageToEveryone(String) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Utility/Tools.cs:235)
PixelCrushers.DialogueSystem.PersistentDataManager:SendPersistentDataMessage(String) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/PersistentDataManager.cs:207)
PixelCrushers.DialogueSystem.PersistentDataManager:Apply() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/PersistentDataManager.cs:198)
PixelCrushers.DialogueSystem.PersistentDataManager:ApplySaveData(String, DatabaseResetOptions) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/PersistentDataManager.cs:247)
PixelCrushers.DialogueSystem.DialogueSystemSaver:ApplyData(String) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/DialogueSystemSaver.cs:104)
PixelCrushers.SaveSystem:ApplySavedGameData(SavedGameData) (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:912)
PixelCrushers.<LoadSceneCoroutine>d__135:MoveNext() (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:1042)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)