Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

WP 8.1 Microsoft ads not clickable

Discussion in 'Windows' started by MasoInar, Oct 2, 2014.

  1. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    125
    Hi,

    I'm using unity 4.6 beta 20 right now and just discovered that when I build Windows Store Universal 8.1 project, windows phone 8.1 ad control are not clickable.

    Windows Store 8.1 ad controls works fine, and Windows phone 8.1 ad controls also loads ad fine, but my problem is that when i click (tap) the windows phone ad, nothing happens.

    Below are my mainPage.xaml code:

    <SwapChainPanel x:Name="DXSwapChainPanel">
    <Grid x:Name="ExtendedSplashGrid">
    <Image x:Name="ExtendedSplashImage" Source="Assets/SplashScreen.png" VerticalAlignment="Center" HorizontalAlignment="Center"/>
    </Grid>
    <ui:AdControl x:Name="AdCont"
    AutoRefreshIntervalInSeconds="60"
    ApplicationId="test_client"
    AdUnitId="Image320_50"
    HorizontalAlignment="Left"
    Height="50"
    IsAutoRefreshEnabled="True"
    Margin="40,110,0,0"
    VerticalAlignment="Top"
    Width="320"
    ></ui:AdControl>
    </SwapChainPanel> ​

    I'm using empty unity project and didn't change anything in app.xaml.cs

    P.S. I'm using Lumia 620 as my test device if that matters..
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,627
    One thing to try is to disable Unity input via AppCallbacks.UnitySetInput(). Some XAML controls don't work well, while Unity is running. Please, let us know if that's the case.
     
  3. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    125
    Hi,

    I tested both AppCallbacks.UnitySetInput(true) and AppCallbacks.UnitySetInput(false), but without any luck. If i put button on xaml it works ok, but ad control is still not clickable :(

    I can make bug report and attach simple test project..
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,627
    Please do.
     
  5. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    125