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
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Terrain Layer settings remain when the Terrain Layer is removed
- Terrain Layer settings UI elements overlap when a new Terrain Layer is created
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Add comment