Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Errors with Unity Advertising after redownloading project and reenabling ads

$
0
0
Hello, I had to redownload my project after some changes that bugged my editor. After redownloading the project from Collab I had to re enable Ads in Services, which resulted in one of my scripts throwing these compiler errors: ---------- `Assets\Scripts\Ads\GiveReward.cs(19,57): error CS0433: The type 'ShowResult' exists in both 'UnityEngine.Advertisements.Editor, Version=3.2.0.0, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Advertisements, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'` ---------- `Assets\Scripts\Ads\GiveReward.cs(6,42): error CS0535: 'GiveReward' does not implement interface member 'IUnityAdsListener.OnUnityAdsDidFinish(string, ShowResult)'` ---------- The second error is invalid as the GiveReward script does implement the IUnityAdsListener, since it worked before the redownload and the script is unchanged, but both Unity and Visual studio refuse to acknowledge that. Iam using Unity 2019.2.0f1 and Microsoft Visual Studio Community 2019 Version 16.5.1

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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