You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mediation ad networks used, and their versions: none
[REQUIRED] Step 2: Describe the problem
On iOS, Unity Input Events, such as OnBeginDrag, OnDrag, OnEndDrag were called when the user swiped on the native overlay ad.
Is this specification or bug?
On Android, input events on the native overlay ad are not notified to Unity.
In addition, the argument of the Unity input events, PointerEventData, was improper.
PointerEventData.position.y was set -7126225000.
I want Input Events on the native overlay advertisement be not notified to Unity, like Android.
Or,I want to get the correct PointerEventData.
Steps to reproduce:
Step1. Render a native overlay ad on the scroll rect.
Step2. Swipe up and down on the ad.
Step3. Verify that Unity Input Events are called and PointerEventData.position.y is improper.
swipeOnAd.MP4
Relevant Code:
public class HomeScroller : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
public void OnBeginDrag(PointerEventData eventData)
{
Debug.Log("OnBeginDrag: eventData.position = " + eventData.position);
}
public void OnDrag(PointerEventData eventData)
{
Debug.Log("OnDrag: eventData.position = " + eventData.position);
}
public void OnEndDrag(PointerEventData eventData)
{
Debug.Log("OnEndDrag: eventData.position = " + eventData.position);
}
}
The text was updated successfully, but these errors were encountered:
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
On iOS, Unity Input Events, such as OnBeginDrag, OnDrag, OnEndDrag were called when the user swiped on the native overlay ad.
Is this specification or bug?
On Android, input events on the native overlay ad are not notified to Unity.
In addition, the argument of the Unity input events, PointerEventData, was improper.
PointerEventData.position.y was set -7126225000.
I want Input Events on the native overlay advertisement be not notified to Unity, like Android.
Or,I want to get the correct PointerEventData.
Steps to reproduce:
Step1. Render a native overlay ad on the scroll rect.
Step2. Swipe up and down on the ad.
Step3. Verify that Unity Input Events are called and PointerEventData.position.y is improper.
swipeOnAd.MP4
Relevant Code:
The text was updated successfully, but these errors were encountered: