Unity ads initialize error
I can not find this error on internet in ads context so i will show my problem here.
i get this error:
MissingMethodException: Method not found: 'UnityEngine.Texture2D.LoadImage'. UnityEngine.Advertisements.Editor.Placeholder.Awake () UnityEngine.Advertisements.Advertisement:Initialize(String, Boolean) AdManager:Awake() (at Assets/Scripts/AdManager.cs:12)
on this line:
Advertisement.Initialize (gameID, true);
Answer by Goreank · Oct 24, 2017 at 10:17 AM
I did not find a proper solution for this error but eventually I deleted any ad plugin from unity ads i downloaded form unity asset store and wrote the code again.
Somehow that was ok but in the previous attempts I could not use the using UnityEngine.Advertisments
namespace. Also make shure that you switch to one of the platforms, either Android or Iphone in editor so you cant test if your (test) ads are working in editor.
Your answer
Follow this Question
Related Questions
Chartboost ads never end. they loop! 0 Answers
IndexOutOfRangeException in TextureInspector 1 Answer
Getting Int value from script to other script 2 Answers
Error!!! NullReferenceException: Object reference not set to an instance of an object 2 Answers
How to integrate mopub ads mediation with admob,vungle,charboost,adcolony, and some more may be? 0 Answers