'UnsupportedRewardedAd' does not implement interface member

I got this message. Because UNITY_EDITOR directive not defined.

Library\PackageCache\com.unity.services.mediation@0.4.0-preview.1\Runtime\Platform\Unsupported\UnsupportedRewardedAd.cs(6,35): error CS0535: 'UnsupportedRewardedAd' does not implement interface member 'IRewardedAd.Show(RewardedAdShowOptions)'

Hey roman!

Can you tell us what version of Unity you’re on?

Hello, unity version 2020.3.23f1. Mediation services - 0.4.0-preview.1

I understand that the problem is most likely on my side, maybe it’s in the project.
But the fact is that the IRewardedAd interface has a method declaration void Show(RewardedAdShowOptions showOptions = null); but its inherites (UnsupportedRewardedAd : IRewardedAd)
implements public void Show() {} - without the RewardedAdShowOptions parameter.
Most likely this is the problem.

My apologies, this one is on me.
It does indeed seem like I forgot to check the unsupported version.
On the plus side, the supported versions should work :wink:

Just a quick note regarding this, 0.4.0-preview.2 was published yesterday, and should fix this issue.
Cheers!