Remote Settings Updated is returning null exception on Unity's Cloud diagnostics report

Managed Stack Trace:

AdNetworkManager.RemoteSettingsUpdated () (at <00000000000000000000000000000000>:0)
UnityEngine.RemoteSettings+UpdatedEventHandler.Invoke () (at <00000000000000000000000000000000>:0)

This is my code :

public GameObject AdmobAdManager; //set using drag and drop inspector
public GameObject UnityManager; //set using drag and drop inspector

private void Awake()
    {
        RemoteSettings.Updated += RemoteSettingsUpdated;
        if (!Instance)
        {
            Instance = this;
            DontDestroyOnLoad(gameObject);
        }
        else
        {
            //Duplicate GameManager created every time the scene is loaded
            Destroy(gameObject);
            return;
        }
    }
private bool admobSelected = false;

private void RemoteSettingsUpdated()
    {


        if (RemoteSettings.HasKey(admobSelectedRemoteKey))
            admobSelected = RemoteSettings.GetBool(admobSelectedRemoteKey);

        if (admobSelected)
        {
            AdmobAdManager.SetActive(true);
            UnityManager.SetActive(false);

        }
        else
        {
            UnityManager.SetActive(true);
            AdmobAdManager.SetActive(false);

        }
    }

[quote=“GreedyDude”, post:1, topic: 833367]
Managed Stack Trace:

AdNetworkManager.RemoteSettingsUpdated () (at <00000000000000000000000000000000>:0)
UnityEngine.RemoteSettings+UpdatedEventHandler.Invoke () (at <00000000000000000000000000000000>:0)

This is my code :

public GameObject AdmobAdManager; //set using drag and drop inspector
public GameObject UnityManager; //set using drag and drop inspector

private void Awake()
    {
        RemoteSettings.Updated += RemoteSettingsUpdated;
        if (!Instance)
        {
            Instance = this;
            DontDestroyOnLoad(gameObject);
        }
        else
        {
            //Duplicate GameManager created every time the scene is loaded
            Destroy(gameObject);
            return;
        }
    }
private bool admobSelected = false;

private void RemoteSettingsUpdated()
    {
      
     
        if (RemoteSettings.HasKey(admobSelectedRemoteKey))
            admobSelected = RemoteSettings.GetBool(admobSelectedRemoteKey);

        if (admobSelected)
        {
            AdmobAdManager.SetActive(true);
            UnityManager.SetActive(false);
        
        }
        else
        {
            UnityManager.SetActive(true);
            AdmobAdManager.SetActive(false);
        
        }
    }

[/quote]
This would be a bug in your code that you would need to debug. Does it reproduce for you locally?