diff --git a/Assets/Fungus/Narrative/Scripts/SayDialog.cs b/Assets/Fungus/Narrative/Scripts/SayDialog.cs index 7d8f8558..daf0f3e9 100644 --- a/Assets/Fungus/Narrative/Scripts/SayDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/SayDialog.cs @@ -136,7 +136,7 @@ namespace Fungus // Start method of another component, so check that no image has been set yet. // Same for nameText. - if (nameText.text == "") + if (nameText != null && nameText.text == "") { SetCharacterName("", Color.white); }