Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug Issue installing Iron Source in last LTS version of unity.

Discussion in 'LevelPlay' started by PapayaLimon, Jun 18, 2023.

  1. PapayaLimon

    PapayaLimon

    Joined:
    Aug 22, 2018
    Posts:
    84
    I was having issue migrating LevelPlay from 2021 to 2022 project. So, I decided to create a new project and import my project and still having same issue. At the end I decided to make a completely new project, totally empty.

    Ideas why this still happening???

     
  2. StevenColson

    StevenColson

    Joined:
    Jun 20, 2023
    Posts:
    1
    It happened to me as well and in the end, I decided to make another.
     
  3. PapayaLimon

    PapayaLimon

    Joined:
    Aug 22, 2018
    Posts:
    84
    I made a new one and still get the issue :V
     
  4. cnguyen_unitylevelplay

    cnguyen_unitylevelplay

    Unity Technologies

    Joined:
    Mar 23, 2023
    Posts:
    71
    Hi @PapayaLimon
    We're looking into this and will get back to you.
     
  5. cnguyen_unitylevelplay

    cnguyen_unitylevelplay

    Unity Technologies

    Joined:
    Mar 23, 2023
    Posts:
    71
    From one of our engineers on their PC set up:

    The reason why it happens is ridiculously simple - gradlew.bat, which is a Gradle Wrapper batch file for Windows environment, is missing from gradle-template.zip which generated / downloaded (?) by MDR. So basically it is MDR problem.There is a workaround for this -
    A. Turn “Enable Auto-Resolution” in Assets > Mobile Dependency Resolver > Android Resolver > Settings
    B. Do the resolve, and you’ll see this error happened.
    C. Access to your Unity project folder, and you’ll be able to see Temp/PlayServicesResolverGradle folder. Copy PlayServicesResolverGradle folder to the location other than your project folder.
    D. Copy attached “gradlew.bat” file into the copied PlayServicesResolverGradlefolder in C.
    E. Close unity editor and re-open it.
    F. Copy the PlayServicesResolverGradle folder copied in C into <your_Unity_Project>/Temp/
    G. Run Force Resolve in Assets > Mobile Dependency Resolver > Android Resolver.

    Let us know if this solves your issue
     
  6. PapayaLimon

    PapayaLimon

    Joined:
    Aug 22, 2018
    Posts:
    84
    ok, tried to follow your instructions but they are not very clear.
    A: I have already turned on: "Enable Auto-Resolution”
    C: Do you mean remove this folder from my main game directory to where?
    D: Which file “gradlew.bat” ? Where do i find it? And copy directly in C: Folder?

    Sorry feel a little dump not getting well this instructions.