diff --git a/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs b/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs index 9be88462..613b23d0 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs @@ -17,6 +17,12 @@ namespace Fungus public override void OnEnter() { + if (spriteRenderer == null) + { + Continue(); + return; + } + CameraController cameraController = CameraController.GetInstance(); if (waitUntilFinished)