When ever I request ads in my game which is in the second scene, upon opening the scene I notice terrible lag for 1-2 seconds. What advice do you have for me to prevent this lag. I have already tried Initializing it in my main menu scene assuming it would load during the splash screen however this was not the case and still there was noticeable lag. I know that you have to download the data before its needed but not sure how to accomplish this using Adtapsy.
You've brought a dead thread alive... Should create a new one since this is 2 years old. But the simple approach is to pause the game when it loads the ad.. Something like this should work. This is what i use in my unity ads. Code (CSharp): public void ShowRewardedVideo() { StartCoroutine(WaitForAd()); ShowOptions options = new ShowOptions(); options.resultCallback = HandleShowResult; Advertisement.Show("rewardedVideo", options); } void HandleShowResult(ShowResult result) { if (result == ShowResult.Finished) { Game.current.Gold += 15; Gold.text = "" + Game.current.Gold; Game.current.adCounter = 1; SaveLoad.SaveGame(); Debug.Log("Video completed - Offer a reward to the player"); // Reward your player here. } else if (result == ShowResult.Skipped) { Debug.LogWarning("Video was skipped - Do NOT reward the player"); } else if (result == ShowResult.Failed) { Debug.LogError("Video failed to show"); } } IEnumerator WaitForAd() { float currentTimeScale = Time.timeScale; Time.timeScale = 0f; yield return null; while (Advertisement.isShowing) yield return null; Time.timeScale = currentTimeScale; }