Hi Ethan, you need to change the SceneFader script’s Start() function to Awake():
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class SceneFader : MonoBehaviour
{
[SerializeField] private float fadeTime;
private Image fadeOutUIImage;
public enum FadeDirection
{
In,
Out
}
// Start is called before the first frame update
void Start() Awake()
{
fadeOutUIImage = GetComponent<Image>();
}
...
Can you add this above line 25 of your SceneTransition as well? I’m checking if either UIManager.Instance or UIManager.Instance.sceneFader is the null value.