Question by
Dudicus · Jul 05, 2016 at 01:46 AM ·
erroriosbuild-errorandroid buildads
Variable doesn't exist?
I have a Unity Ads game and when I run the game it works fine and it shows the Ad. But when I build it ONLY FOR ANDROID it has an error message saying:
Assets/Scripts/GamePlay.cs(76,25): error CS0117: UnityAdsManager' does not contain a definition for
instance'
But in UnityAdsManager it states:
public static UnityAdsManager instance;
By the way I'm calling it like:
UnityAdsManager.instance.ShowAds();
Please help.
Comment
Your answer
Follow this Question
Related Questions
Building for android fails after adding Unity Ads? 0 Answers
Apple Mach-O Linker (ld) Error Group 4 Answers
Apple LLVM 9.0 Error, Unable to execute command: Killed:9 0 Answers
Android build error 1 Answer