diff --git a/source/plugin/Assets/GoogleMobileAds/Ump/Platforms/Unity/ConsentFormClient.cs b/source/plugin/Assets/GoogleMobileAds/Ump/Platforms/Unity/ConsentFormClient.cs index f354565ea..00a5283c5 100644 --- a/source/plugin/Assets/GoogleMobileAds/Ump/Platforms/Unity/ConsentFormClient.cs +++ b/source/plugin/Assets/GoogleMobileAds/Ump/Platforms/Unity/ConsentFormClient.cs @@ -15,6 +15,7 @@ using System; using UnityEngine; using UnityEngine.UI; +using UnityEngine.EventSystems; using GoogleMobileAds.Ump.Api; using GoogleMobileAds.Ump.Common; @@ -112,6 +113,7 @@ public void ShowPrivacyOptionsForm(Action onDismissed) /// private void AddClickBehavior(GameObject placeholder, Action onClick) { + WarnIfNoEventSystem(); Image[] images = placeholder.GetComponentsInChildren(); Image adImage = images[1]; Button button = adImage.GetComponentInChildren