Hello! i have done the migration correctly. But at difference on Unity mediation I can’t make my ads show. Also there is no tutorial or snippets for using it! I have done all the migration but in the code part I really get lost. Also didn’t say if the codes need to change it or something. I have just a mess!!
How do i make the banner show up?
I have also open the demo scene but no prefabs, just a code and when i build it just said that it don’t work. If not is there a way to go back to mediation? I’m really sick with the ads issues!!! I have tried with Unity Mediation but ads didn’t show up on build. Now it didn’t show neither on editor or build. I just change because they said it will be off soon, so wanted to upgrade before that. But I’m totally lost!!!
Console Details with DEMO SCENE:
unity-script: OnApplicationPause = False
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnApplicationPause (bool) (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:134)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:.ctor () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:9)
IronSource:.ctor () (at Assets/IronSource/Scripts/IronSource.cs:18)
IronSource:get_Agent () (at Assets/IronSource/Scripts/IronSource.cs:47)
IronSourceDemoScript:OnApplicationPause (bool) (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:135)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:onApplicationPause (bool) (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:23)
IronSource:onApplicationPause (bool) (at Assets/IronSource/Scripts/IronSource.cs:72)
IronSourceDemoScript:OnApplicationPause (bool) (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:135)
unity-script: IronSource.Agent.validateIntegration
UnityEngine.Debug:Log (object)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:26)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:validateIntegration () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:39)
IronSource:validateIntegration () (at Assets/IronSource/Scripts/IronSource.cs:88)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:27)
unity-script: unity version2022.1.24f1
UnityEngine.Debug:Log (object)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:29)
unity-script: IronSource.Agent.init
UnityEngine.Debug:Log (object)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:32)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:init (string) (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:98)
IronSource:init (string) (at Assets/IronSource/Scripts/IronSource.cs:145)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:33)
unity-script: loadBannerButtonClicked
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:201)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:loadBanner (IronSourceBannerSize,IronSourceBannerPosition) (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:250)
IronSource:loadBanner (IronSourceBannerSize,IronSourceBannerPosition) (at Assets/IronSource/Scripts/IronSource.cs:293)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:202)
unity-script: LoadInterstitialButtonClicked
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:180)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:loadInterstitial () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:180)
IronSource:loadInterstitial () (at Assets/IronSource/Scripts/IronSource.cs:227)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:181)
unity-script: ShowInterstitialButtonClicked
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:187)
Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:isInterstitialReady () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:195)
IronSource:isInterstitialReady () (at Assets/IronSource/Scripts/IronSource.cs:242)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:188)
unity-script: IronSource.Agent.isInterstitialReady - False
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:194)
Make this tutorial: https://developers.is.com/ironsource-mobile/unity/unity-migration-sdk/
Also this codes are when i just open the Demo Scene:
Assets\Scripts\InterstitialAds.cs(20,23): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Assets\IronSource\Scripts\IronSourceEvents.cs(58,60): warning CS0067: The event 'IronSourceEvents.onOfferwallAdCreditedEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(13,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdReadyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(80,58): warning CS0067: The event 'IronSourceEvents.onImpressionDataReadyEvent' is never used
Assets\IronSource\Scripts\IronSourceBannerEvents.cs(13,50): warning CS0067: The event 'IronSourceBannerEvents.onAdLeftApplicationEvent' is never used
Assets\IronSource\Scripts\IronSourceBannerEvents.cs(12,50): warning CS0067: The event 'IronSourceBannerEvents.onAdLoadedEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(14,51): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdOpenedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(65,32): warning CS0067: The event 'IronSourceEvents.onBannerAdScreenDismissedEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(18,67): warning CS0067: The event 'IronSourceInterstitialEvents.onAdShowFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(15,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdOpenedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(21,49): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdShowFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(42,49): warning CS0067: The event 'IronSourceEvents.onInterstitialAdLoadFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(18,50): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdAvailableEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(67,32): warning CS0067: The event 'IronSourceEvents.onBannerAdClickedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(54,57): warning CS0067: The event 'IronSourceEvents.onInterstitialAdShowFailedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(70,40): warning CS0067: The event 'IronSourceEvents.onSegmentReceivedEvent' is never used
Assets\IronSource\Scripts\IronSourceBannerEvents.cs(16,50): warning CS0067: The event 'IronSourceBannerEvents.onAdClickedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(72,58): warning CS0067: The event 'IronSourceEvents.onImpressionSuccessEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(31,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdReadyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(24,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdStartedEvent' is never used
Assets\IronSource\Scripts\IronSourceBannerEvents.cs(15,50): warning CS0067: The event 'IronSourceBannerEvents.onAdScreenPresentedEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(16,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdClosedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(22,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdOpenedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(66,32): warning CS0067: The event 'IronSourceEvents.onBannerAdScreenPresentedEvent' is never used
Assets\IronSource\Scripts\IronSourceBannerEvents.cs(14,50): warning CS0067: The event 'IronSourceBannerEvents.onAdScreenDismissedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(34,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClosedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(28,38): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAvailabilityChangedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(50,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdOpenedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(23,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClosedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(30,49): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdLoadFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(68,49): warning CS0067: The event 'IronSourceEvents.onBannerAdLoadFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(35,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdLoadedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(61,49): warning CS0067: The event 'IronSourceEvents.onOfferwallShowFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(37,57): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdShowFailedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(20,49): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdLoadFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(53,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClickedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(44,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClosedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(63,32): warning CS0067: The event 'IronSourceEvents.onBannerAdLoadedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(38,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClickedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(17,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdShowSucceededEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(14,49): warning CS0067: The event 'IronSourceInterstitialEvents.onAdLoadFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceBannerEvents.cs(17,49): warning CS0067: The event 'IronSourceBannerEvents.onAdLoadFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(41,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdReadyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(49,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdReadyDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(39,57): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdLoadFailedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(36,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdRewardedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(16,70): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdRewardedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(59,49): warning CS0067: The event 'IronSourceEvents.onGetOfferwallCreditsFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(17,70): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdClickedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(47,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClickedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(45,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdShowSucceededEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(60,32): warning CS0067: The event 'IronSourceEvents.onOfferwallClosedEvent' is never used
Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(19,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdClickedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(57,32): warning CS0067: The event 'IronSourceEvents.onOfferwallOpenedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(46,49): warning CS0067: The event 'IronSourceEvents.onInterstitialAdShowFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(51,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClosedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(43,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdOpenedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(52,57): warning CS0067: The event 'IronSourceEvents.onInterstitialAdLoadFailedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(25,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdEndedEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(13,66): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdShowFailedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(33,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdOpenedDemandOnlyEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(15,51): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdClosedEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(19,32): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdUnavailableEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(19,32): warning CS0067: The event 'IronSourceEvents.onSdkInitializationCompletedEvent' is never used
Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(21,50): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdReadyEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(64,32): warning CS0067: The event 'IronSourceEvents.onBannerAdLeftApplicationEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(56,38): warning CS0067: The event 'IronSourceEvents.onOfferwallAvailableEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(27,53): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClickedEvent' is never used
Assets\IronSource\Scripts\IronSourceEvents.cs(26,53): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdRewardedEvent' is never used
Using 2022.1.24f1
Help???:(:(:(