It seems I’m not alone in this, but none of the solutions outlined in any other Unity forums post do the trick for me, so I’ll do my best to outline what I’m seeing.
I have been integrated with Unity Ads through the Services window for many months now and haven’t had any issues until this upgrade. Upon going to 2017.1 I started noticing a bunch of problems, but here’s an attempted summary:
- the #if UNITY_ADS directive no longer is defined anywhere and returns false on all platforms
- “Could not load file or assembly ‘UnityEngine.Advertisements, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies” shows up in any place I try to reference UnityEngine.Advertisements
I have logged in and out of Unity Services many times.
I have restarted Unity and/or MonoDevelop many times.
I have unlinked and relinked the project ID to my organization/project many times.
I’ve checked UnityConnectSettings.asset and Ads are indeed enabled.
The “Enabled built-in ads extension” under the Services Window is checked.
I’ve tried creating a brand new project, linking it, and copying over the UnityConnectSettings.asset.
I’ve done all of the above in many different permutations.
Another thing that I find odd is that if I logout of Unity Services, and log back in, the Ads service in the Services Window is no longer on. Regardless of how many times I check it, if I log out and login it reverts to being unchecked. I verified on the dashboard on the web that Ads are still enabled.
Thanks for the help.
[Edit] As a followup to this, I unchecked the “Enable built-in ads extension”, and installed v2.1.0 via the asset store and as far as I can tell things seem to work, but it doesn’t squash my concern that there is a problem here. There’s an awful lot of verbiage around Unity Docs that there is no need to install via the asset store beyond Unity 5.5 I believe, so the fact that it is potentially the goto solution now concerns me. If I go this route, do I continue to keep Unity Ads enabled in the Services window, uncheck that box, keep the asset from the asset store installed and move on with my life?