2

error :

    Exception: Failed running D:\UnityEditor\2021.1.9f1\Editor\Data\il2cpp\build/deploy/netcoreapp3.1/UnityLinker.exe @D:/UnityProject/ProjectName/Temp/StagingArea/assets/bin/Data/Managed/response.rsp
        
    stdout:
    Fatal error in Unity CIL Linker
    Mono.Linker.LinkerFatalErrorException: ILLink: error IL1005: GoogleMobileAds.Api.MobileAds.GetClientFactory(): Error processing method
    'GoogleMobileAds.Api.MobileAds.GetClientFactory()' in assembly 'GoogleMobileAds.dll'---> System.InvalidOperationException: No action for the assembly GoogleMobileAds.Unity, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null defined

use :

  • Unity 2021.1.9f1 -> ndk r21d
  • Visual Studio Community 2019 16.10.0
  • GoogleMobileAds-v6.0.0.unitypackage
  • android studio 4.2.1 -> avd test use

build setting :
- Minimum API Level : level 29
- Scripting Backend : il2cpp
- Api Compatibility Level : .Net 4.x
- Target Architextures : ARMv7 && ARM64

try :
- Mono build fine.
- reimport all the packages.
- reinstalled Visual Studio c++ targeting pack(4.0~4.8 version).
- reinstalled .Net 4.8 framwork.
- Preferences JDK, SDK, NDK, Gradle Set with downloaded files path. Not Installed with UnityHub recommended path.
- GoogleMobileAds-v5.4.0 change.
- I tried to edit Use GUIDs in 'GoogleMobileAds.Editor', but 'GoogleMobileAds' and 'GoogleMobileAds.Core' are output as 'none'.

All have the same error.

1 Answer 1

1

This is a bug in version 6.0.0 of the Google Mobile Ads Unity plugin. Tracked in https://github.com/googleads/googleads-mobile-unity/issues/1613.

Sign up to request clarification or add additional context in comments.

2 Comments

really thank. but 5.4 version same error. T_T. Let's run the solution in the comments on github. If that doesn't work, try installing the previous version again. really really Thank you so much again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.