Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.0b3
Issue ID
1035126
Regression
No
Ads package is not picking up assembly reference for Advertisement namespace when "Ads Service" is enabled afterward
Ads package is not picking up assembly reference for Advertisement namespace when "Ads Service" is enabled afterward
Steps to Repro:
1. Create a new or open attached project
2. Project window > right click
3. C# Script > write a code to use Ads or import the attached script
Actual Result:
1. Observe errors in the console
2. Advertisement namespace is not recognized when services are enabled afterward
Expected Result:
1. Once services are enabled " Advertisement" should be recognized
2. Compiler errors should disappear on enabling ads services
Workaround:
1. Downgrading and upgrading the ads package resolves the problem
2. Removing and installing the package back resolves the problem, however, if the script is re-imported the error appears again
Note:
1. Occurring with Ads 2.0.7 or 2.0.8
2. Ads Package is installed by default
3. Make sure ads are enabled in unity services
4. Integration of ads guide
https://unityads.unity3d.com/help/monetization/integration-guide-unity
Occurring with:
2018.3.0a4, 2018.2.0b10, 2018.1.0f2, 2018.1.0b13, 2018.1.0b5
Environment:
Windows & Mac
Stack Trace:
The name `Advertisement' does not exist in the current context
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment