Problem in Xamarin or unity i dont know :( code greyed out
i have a game, which is running for one week now. And my statistics of unity ads shown is 0. After some time i somehow figured out that parts of the code where the things should happend are greyed out. and i can not write the code normaly, when i start to retype code it becomes greyed out.
Answer by Vicarian · Jul 01, 2017 at 05:34 PM
You don't have the UNITY_ADS compilation directive set in your project settings. It may be that the ads service isn't enabled, or UNITY_ADS doesn't appear in your Scripting Define Symbols which appears in Player Settings under the Other Settings category.
Ads service is enabled, and yes under scripting define there is no unity_ads, if i add it nothing changes.
Just type out UNITY_ADS in that field in Other Settings under Player Settings. Defines are case-sensitive, so if it's all lower-case, then that's likely the problem. Separate multiple symbols with a semicolon.
I did but nothing helps, lines are still greyed out.