Quantcast
Channel: Unity Ads & User Acquisition
Viewing all articles
Browse latest Browse all 6164

Memory leak

$
0
0
Unity 2018.3.0b8
Unity Monetization v3.0.0

Test mode is on in Services tab and Dashboard

Code (CSharp):
  1.  
  2.     private void Start() {
  3.         Advertisement.Initialize(_gameId);
  4.         StartCoroutine (ShowBannerWhenReady());
  5.     }
  6.  
  7.     IEnumerator ShowBannerWhenReady () {
  8.         while (!Advertisement.IsReady ("banner")) {
  9.             yield return new WaitForSeconds(0.5f);
  10.         }
  11.         Advertisement.Banner.Show("banner");
  12.     }
  13.    
When start game in editor appear memory leak...

Memory leak

Viewing all articles
Browse latest Browse all 6164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>