Exactly like me, but sometimes is work in editor!
What i tried
Platform : Android 6 and above & IOS 12 & above
1 -Install Unity Ads from assetstore store Or from package manger in unity 2019.2 is work
but in unity 2018 sometimes is work in editor not mobile
2- Turn off Ads service is not helpful “enable built in etc”.
I don’t know what is problem my code exactly like "
Rewarded video ad buttons
" Unity developer integration guides
Logcat
12-15 21:53:27.479 31365-31374/? I/art: Background sticky concurrent mark sweep GC freed 292956(14MB) AllocSpace objects, 11(276KB) LOS objects, 32% free, 31MB/46MB, paused 5.045ms total 189.514ms
12-15 21:53:29.730 1186-1227/? I/UnityAds: com.unity3d.services.ads.UnityAdsImplementation.show() (line:6) :: Unity Ads opening new ad unit for placement VDREWARDEDV3
12-15 21:53:29.778 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Opening performance ad unit with orientation PORTRAIT, hardware acceleration enabled
--------- beginning of system
12-15 21:53:29.796 781-1894/? I/ActivityManager: START u0 {flg=0x10010000 cmp=com.abualamrin.humantest/com.unity3d.services.ads.adunit.AdUnitActivity (has extras)} from uid 10333 on display 0
12-15 21:53:29.906 781-799/? I/ActivityManager: Displayed com.abualamrin.humantest/com.unity3d.services.ads.adunit.AdUnitActivity: +90ms
12-15 21:53:29.907 1618-1618/? I/Keyboard.Facilitator: onFinishInput()
12-15 21:53:29.925 781-1669/? I/MediaFocusControl: AudioFocus requestAudioFocus() from android.media.AudioManager@43a0dc req=1flags=0x0
12-15 21:53:29.929 201-2425/? D/NuPlayer: onSetVideoSurface(0xb4845f00, no video decoder)
12-15 21:53:29.969 201-2425/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (5, 320, 180)
12-15 21:53:29.970 201-2425/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (1, 0, 0)
12-15 21:53:29.993 1186-1186/? D/MediaPlayer: getMetadata
12-15 21:53:30.014 201-26475/? D/NuPlayerDriver: start(0xb28e0660), state is 4, eos is 0
12-15 21:53:30.014 201-2425/? I/GenericSource: start
12-15 21:53:30.102 201-2441/? I/OMX-VDEC-1080P: component_init: OMX.qcom.video.decoder.avc : fd=19
12-15 21:53:30.103 201-2441/? I/OMX-VDEC-1080P: Capabilities: driver_name = msm_vidc_driver, card = msm_vdec_8974, bus_info = , version = 1, capabilities = 4003000
12-15 21:53:30.109 201-2441/? I/OMX-VDEC-1080P: omx_vdec::component_init() success : fd=19
12-15 21:53:30.111 201-2438/? I/MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 205839
12-15 21:53:30.112 201-2441/? E/OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
12-15 21:53:30.113 201-2440/? E/OMXNodeInstance: setConfig(61:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
12-15 21:53:30.113 201-2440/? I/ACodec: codec does not support config priority (err -2147483648)
12-15 21:53:30.113 201-2440/? I/MediaCodec: MediaCodec will operate in async mode
12-15 21:53:30.116 201-2453/? I/SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
12-15 21:53:30.117 201-2438/? I/MediaCodec: MediaCodec will operate in async mode
12-15 21:53:30.136 201-2441/? D/SurfaceUtils: set up nativeWindow 0xb4845f08 for 320x180, color 0x7fa30c04, rotation 0, usage 0x42002900
12-15 21:53:30.147 201-814/? D/audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
12-15 21:53:30.148 201-2425/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (6, 0, 0)
12-15 21:53:30.154 201-2441/? D/SurfaceUtils: set up nativeWindow 0xb4845f08 for 320x192, color 0x7fa30c04, rotation 0, usage 0x42002900
12-15 21:53:30.155 31399-24752/? I/Checkin: [EventLogChimeraService] Opted in for usage reporting: true
12-15 21:53:30.155 31399-24752/? I/Checkin: [EventLogChimeraService] Aggregate from 1576437231608 (log), 1576437231608 (data)
12-15 21:53:30.168 201-2425/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (5, 320, 180)
12-15 21:53:30.168 201-2425/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (200, 3, 0)
12-15 21:53:30.168 1186-1203/? W/MediaPlayer: info/warning (3, 0)
12-15 21:53:30.222 201-814/? D/AudioFlinger: mixer(0xb4100000) throttle end: throttle time(11)
12-15 21:53:30.310 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Unity Ads event: sending start event to https://impact.applifier.com/events/v2/video/video_start/1773727/000000000000000000000000
12-15 21:53:30.352 781-1686/? W/DropBoxManagerService: Dropping: event_log (61 > 0 bytes)
12-15 21:53:30.358 781-1669/? W/DropBoxManagerService: Dropping: event_data (39 > 0 bytes)
12-15 21:53:30.370 31399-24752/? I/Checkin: [ServiceDumpSys] dumping service [account]
12-15 21:53:30.380 781-1670/? W/DropBoxManagerService: Dropping: dumpsys:account (234 > 0 bytes)
12-15 21:53:30.612 31365-31365/? W/ChimeraUtils: Non Chimera context
12-15 21:53:30.634 31365-2462/? I/aokb: Removed 0 invalid users [CONTEXT service_id=51 ]
12-15 21:53:30.964 31365-2462/? W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
12-15 21:53:30.974 31365-2462/? W/Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@19831018@19.8.31 (040308-284611645):2)
12-15 21:53:30.974 31365-2462/? W/Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@19831018@19.8.31 (040308-284611645):2)
12-15 21:53:31.080 781-1669/? W/DropBoxManagerService: Dropping: exp_det_cert_pin_failure (10 > 0 bytes)
12-15 21:53:31.138 31365-2462/? W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
12-15 21:53:31.138 31365-2462/? W/Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@19831018@19.8.31 (040308-284611645):2)
12-15 21:53:31.138 31365-2462/? W/Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@19831018@19.8.31 (040308-284611645):2)
12-15 21:53:32.171 31365-2462/? I/aojp: Scheduling adaptive one off task with window [14400, 604800] in seconds [CONTEXT service_id=51 ]
12-15 21:53:32.296 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Unity Ads event: sending first_quartile event to https://impact.applifier.com/events/v2/video/first_quartile/1773727/000000000000000000000000
12-15 21:53:34.602 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Unity Ads event: sending midpoint event to https://impact.applifier.com/events/v2/video/midpoint/1773727/000000000000000000000000
12-15 21:53:35.847 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Requesting ad plan from https://auction.unityads.unity3d.com/v4/test/games/1773727/requests?advertisingTrackingId=3a249062-21fc-49bb-93dd-df25f2b2584d&limitAdTracking=true&deviceModel=Nexus%205&platform=android&sdkVersion=3400&stores=google&deviceMake=LGE&screenSize=268435794&screenDensity=480&apiLevel=23&test=true&screenWidth=1080&screenHeight=1776&connectionType=wifi&networkType=0
12-15 21:53:36.557 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Unity Ads event: sending third_quartile event to https://impact.applifier.com/events/v2/video/third_quartile/1773727/000000000000000000000000
12-15 21:53:36.773 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: AdPlan received with 1 campaigns and refreshDelay 0
12-15 21:53:38.005 201-2439/? I/NuPlayerDecoder: [audio] saw output EOS
12-15 21:53:38.304 201-2437/? I/NuPlayerDecoder: [video] saw output EOS
12-15 21:53:38.485 201-2425/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (2, 0, 0)
12-15 21:53:38.516 201-1041/? D/NuPlayerDriver: stop(0xb28e0660)
12-15 21:53:38.516 201-1041/? D/NuPlayerDriver: notifyListener_l(0xb28e0660), (8, 0, 0)
12-15 21:53:38.517 201-1040/? D/NuPlayerDriver: reset(0xb28e0660)
12-15 21:53:38.521 201-2425/? W/AMessage: failed to post message as target looper for handler 0 is gone.
12-15 21:53:38.540 201-2441/? I/OMX-VDEC-1080P: omx_vdec::component_deinit() complete
12-15 21:53:38.564 201-2441/? I/OMX-VDEC-1080P: Exit OMX vdec Destructor: fd=19
12-15 21:53:38.567 201-2425/? W/AMessage: failed to post message as target looper for handler 0 is gone.
12-15 21:53:38.569 201-2425/? D/NuPlayerDriver: notifyResetComplete(0xb28e0660)
12-15 21:53:38.571 781-1893/? I/MediaFocusControl: AudioFocus abandonAudioFocus() from android.media.AudioManager@43a0dc
12-15 21:53:38.579 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Unity Ads event: sending view event to https://impact.applifier.com/events/v2/video/video_end/1773727/000000000000000000000000
12-15 21:53:38.586 1186-1186/? W/MediaPlayer: mediaplayer went away with unhandled events
12-15 21:53:38.595 1618-1618/? I/Keyboard.Facilitator: onFinishInput()
12-15 21:53:39.551 1186-1186/? I/chromium: [INFO:CONSOLE(22848)] "Uncaught (in promise) Experiment session not started.", source: file:///storage/emulated/0/Android/data/com.abualamrin.humantest/cache/UnityAdsCache/UnityAdsWebApp.html?platform=android&origin=https%3A%2F%2Fwebview.unityads.unity3d.com%2Fwebview%2F3.4.0%2F78d2436ae72e107aef173839f2d1c75b335ae789%2Frelease%2Findex.html&version=78d2436ae72e107aef173839f2d1c75b335ae789 (22848)
12-15 21:53:39.607 1186-1471/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:1) :: Closing Unity Ads ad unit
12-15 21:53:39.669 1618-1618/? I/Keyboard.Facilitator: onFinishInput()
12-15 21:53:39.748 201-814/? D/audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
12-15 21:53:39.781 201-814/? D/AudioFlinger: mixer(0xb4100000) throttle end: throttle time(7)
12-15 21:53:40.485 211-294/? I/ThermalEngine: TM Id 'SKIN_THERMAL_management_1' Sensor 'xo_therm_pu2' - alarm raised 2 at 42.0 degC
12-15 21:53:40.485 211-294/? I/ThermalEngine: ACTION: CPU - Setting CPU[0] to 1574400
12-15 21:53:40.485 211-294/? I/ThermalEngine: ACTION: CPU - Setting CPU[1] to 1574400
12-15 21:53:40.485 211-294/? I/ThermalEngine: ACTION: CPU - Setting CPU[2] to 1574400
12-15 21:53:40.485 211-294/? I/ThermalEngine: ACTION: CPU - Setting CPU[3] to 1574400
12-15 21:53:40.486 211-294/? I/ThermalEngine: ACTION: LCD - Setting max LCD brightness to 204
12-15 21:53:40.486 211-294/? I/ThermalEngine: Setting curr LCD brightness to 255