Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug com.unity3d.services.ads.adunit.VideoPlayerHandler.destroy

Discussion in 'Unity Ads & User Acquisition' started by Shefich, Jan 4, 2023.

  1. Shefich

    Shefich

    Joined:
    May 23, 2013
    Posts:
    147
    Hello,

    I have this issue "
    VideoPlayerHandler.java line 38
    com.unity3d.services.ads.adunit.VideoPlayerHandler.destroy
    "

    Stacktrace:

    Code (CSharp):
    1. main (native)
    2. tid=1 systid=1898
    3. Triggered ANR
    4. Root blocking
    5. 0
    6. libc.so
    7. __ioctl + 4
    8. 1
    9. libc.so
    10. ioctl + 160
    11. 2
    12. libbinder.so
    13. android::IPCThreadState::talkWithDriver(bool) + 296
    14. 3
    15. libbinder.so
    16. android::IPCThreadState::waitForResponse(android::Parcel*, int*) + 60
    17. 4
    18. libbinder.so
    19. android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 184
    20. 5
    21. libbinder.so
    22. android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 152
    23. 6
    24. libmedia.so
    25. android::BpMediaPlayer::disconnect() + 280
    26. 7
    27. libmedia.so
    28. android::MediaPlayer::disconnect() + 248
    29. 8
    30. libmedia_jni.so
    31. android_media_MediaPlayer_release(_JNIEnv*, _jobject*) + 120
    32. android.media.MediaPlayer._release (Native method)
    33. android.media.MediaPlayer.release (MediaPlayer.java:2114)
    34. android.widget.VideoView.stopPlayback (VideoView.java:365)
    35. com.unity3d.services.ads.adunit.VideoPlayerHandler.destroy (VideoPlayerHandler.java:38)
    36. com.unity3d.services.ads.adunit.AdUnitActivity.setViews (AdUnitActivity.java:382)
    37. com.unity3d.services.ads.api.AdUnit$1.run (AdUnit.java:171)
    38. android.os.Handler.handleCallback (Handler.java:938)
    39. android.os.Handler.dispatchMessage (Handler.java:99)
    40. android.os.Looper.loop (Looper.java:223)
    41. android.app.ActivityThread.main (ActivityThread.java:7950)
    42. java.lang.reflect.Method.invoke (Native method)
    43. com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:603)
    44. com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
    Unity 2020.3.43, Advertisment 4.4.1.
    Many diferent devices.
    Android versions 11, 12, 13.
     
  2. Shefich

    Shefich

    Joined:
    May 23, 2013
    Posts:
    147
    Happens with Admob Mediation and with the Unity native Ads.
    Unity 2021 has the same issue.