googleads-mobile-unity icon indicating copy to clipboard operation
googleads-mobile-unity copied to clipboard

[FR] Add support for ASMDEF files to the plugin.

Open Davidnovarro opened this issue 5 months ago • 6 comments

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

Image

Davidnovarro avatar Jul 01 '25 09:07 Davidnovarro

Hi @Davidnovarro

I am not seeing this problem. I am targeting Standalone builds, and installed Mintegral using UPM. Are there any additional steps ?

NVentimiglia avatar Jul 07 '25 17:07 NVentimiglia

Hi @Davidnovarro

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

Image

Also same thing is true for IronSource .asmdef files.

Davidnovarro avatar Jul 08 '25 10:07 Davidnovarro

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.

spdhag avatar Aug 13 '25 09:08 spdhag

Hi @Davidnovarro

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?

Davidnovarro avatar Aug 13 '25 10:08 Davidnovarro

Is this issue going to be addressed? It’s really frustrating to have to remove and then re-add AdMob adapters with every build.

Davidnovarro avatar Aug 19 '25 13:08 Davidnovarro

I see, I have let engineering know they should support asdef files.

NVentimiglia avatar Nov 18 '25 22:11 NVentimiglia