Search Issue Tracker

Fixed in 3.1.0

Votes

0

Found in [Package]

3.0.3

Issue ID

1140755

Regression

Yes

Cannot build for console platforms when the Ads package is in the project manifest

Package: Ads

-

If your project contains the Ads package, errors will occur when building for console platforms and the build will fail.

The following platforms are affected:
Xbox One
PlayStation 4

1. Install Xbox One support for Unity
2. Launch Unity and open the attached project
3. Switch the build target to Xbox One
4. Attempt to create a build

Expected Result:
The build completes without any errors.

Actual Result:
The build fails with the following error:

Library\PackageCache\com.unity.ads@3.0.3\Runtime\Advertisement\Creator.cs(37,24): error CS0103: The name 'UnityAdsSettings' does not exist in the current context

Tested on Windows.

Tested using com.unity.ads 3.0.3 on 2019.1.0b9

Does not occur with ads version 2.x

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.