Skip to content

AdRotator Crashing When Cleaning Up #64

@thalescm

Description

@thalescm

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:
rotator_bug

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions