[FR] Add support for ASMDEF files to the plugin.
Environment
- Unity version: 6.1
- Google Mobile Ads Unity plugin version: 10.2.0
- Plugin installation method: Unity package manager
- Mediation ad networks used, and their versions: Mintegral, Iron Source
Problem
Standalone builds fail for Standalone (Windows, Headless Linux Server etc...) builds. To fix I have to remove manually each time the Mintegral and Iron Source mediation adapters before the build
Steps to reproduce:
Install Mintegral and Iron Source adapters and try to build a Standalone executable (Windows, Mac, Linux)
Relevant Code:
Library\PackageCache\com.google.ads.mobile.mediation.ironsource@03ff74c0c473\source\plugin\Assets\GoogleMobileAds\Mediation\IronSource\Api\IronSource.cs(22,17): error CS0103: The name 'IronSourceClientFactory' does not exist in the current context
Library\PackageCache\com.google.ads.mobile.mediation.mintegral@f8668ca4dd2d\source\plugin\Assets\GoogleMobileAds\Mediation\Mintegral\Api\Mintegral.cs(22,17): error CS0103: The name 'MintegralClientFactory' does not exist in the current context
Hi @Davidnovarro
I am not seeing this problem. I am targeting Standalone builds, and installed Mintegral using UPM. Are there any additional steps ?
I am not seeing this problem. I am targeting Standalone builds, and installed Mintegral using UPM. Are there any additional steps ?
Hi, it is strange that your builds are working. What version of Unity are you using? What version of Mintegral and Iron Source plugins are you using?
I use: Unit Version - 6000.1.8f1 Google Mobile Ads for Unity - 10.2.0 · May 31, 2025 Mintegral Adapter Version - 1.9.3 · June 04, 2025 IronSource Adapter Version - 3.9.0 · June 12, 2025
Also same thing is true for IronSource .asmdef files.
I see similar issues in other adapters. But in the case of DTExchange and IronSource. Issue is that these library asmdefs are excluded from platforms even though the provide Dummy adapters for unsupported platforms causing build errors that classes can not be found.
I am not seeing this problem. I am targeting Standalone builds, and installed Mintegral using UPM. Are there any additional steps ?
Were you able to reproduce the issue?
Is this issue going to be addressed? It’s really frustrating to have to remove and then re-add AdMob adapters with every build.
I see, I have let engineering know they should support asdef files.