Code: Select all
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.ConversationStateSaver+<StartSavedConversation>d__6.MoveNext () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/ConversationStateSaver.cs:110)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
PixelCrushers.DialogueSystem.ConversationStateSaver:ApplyData(String) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/ConversationStateSaver.cs:80)
PixelCrushers.SaveSystem:ApplySavedGameData(SavedGameData) (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:654)
PixelCrushers.<LoadSceneCoroutine>d__107:MoveNext() (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:765)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
Code: Select all
PixelCrushers.SaveSystem.LoadScene()
Code: Select all
void OnPrepareConversationLine(DialogueEntry entry) {
if (myInk && myInk.activeStory) {
foreach (var tag in myInk.activeStory.currentTags) {
if (tag.StartsWith("location:")) {
string location = tag.Substring("location:".Length).Trim(' ');
if (debug) Debug.Log("ink tag switching to location \""+location+"\"");
MessageSystem.SendMessage(this, "SCENE_CHANGE", "", location);
}
}
}
}
The relevant Ink lines are just:
Code: Select all
"... some bla bla bla"
#location: map
-> END