-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I'm doing a game on Unity and building it to WP 8.1
That said I've followed the tutorial on readme.txt that comes when you download the AdRotator NuGet.
that is. Added the manager control in my first two scenes with no remote URL for the xml (this should be enough for it to use the local one) and modified defaultAdSettingsWP8 with the following xml:
<?xml version="1.0" encoding="utf-8"?>
<AdSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CultureDescriptors CultureName="default" Probabilty="100">
<PubCenter AppId="<my-app-id>" SecondaryId="<my-secondary-id>" Probability="100"/>
</CultureDescriptors>
</AdSettings>
- Builded the project on Visual Studio 2013 Update 4.
- Added the AdRotator by NuGet
- Added
public App()
{
this.InitializeComponent();
appCallbacks = new AppCallbacks();
appCallbacks.RenderingStarted += RemoveSplashScreen;
AdRotatorUnitySDK.Integration.AdRotatorBridge.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.PubCenter, typeof(AdControl)); //<- Resolve to Microsoft AdControl
}
To the app constructor and added reference to Microsoft Ads SDK.
But When running the app on a device. After it shows the Unity Splash Screen it breaks, with the following error:
I couldn't even test if the Ad was showing properly or not. Can you help me with what's going on here?
I'm Running Unity 5.0.1
Thanks!
Metadata
Metadata
Assignees
Labels
No labels