Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdRotator Crashing When Cleaning Up #64

Open
thalescm opened this issue May 19, 2015 · 3 comments
Open

AdRotator Crashing When Cleaning Up #64

thalescm opened this issue May 19, 2015 · 3 comments

Comments

@thalescm
Copy link

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!

@SimonDarksideJ
Copy link
Contributor

Hi @thalescm I don't think we've announced Unity 5 support as yet.
I'll do some tests this weekend and see what can be done.

Could you also provide a little more detail on your configuration and the providers you intend to use

@thalescm
Copy link
Author

Hi @DDReaper thanks for the response!
Which version of unity is the latest one AdRotator supports?
Do you think it will be too much trouble to migrate from 5.x to that version?
Thanks again!

@thalescm
Copy link
Author

@DDReaper I migrate my project to Unity 4.6.5 (the latest Unity 4 version) and did the exact same steps listed above. Another similar problem happened:

screen shot 2015-05-20 at 6 43 39 pm

As you asked, Which type of configuration do you want me to provide? I did only theses steps, Didn't modify anything in Player Settings... and built the project to XAML C# Solution with SDK Phone 8.1

The currently AdNetwork I will support will be PubCenter (to make it work), than I plan to put Smaato or Inneractive, as AdMob and InMobi are quitting their WP 8.1 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants