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. Dismiss Notice

Bug Your app includes non-compliant SDK version - Unity Ads on Playconsole

Discussion in 'Unity Ads & User Acquisition' started by aqsanadeem82, Dec 23, 2022.

  1. aqsanadeem82

    aqsanadeem82

    Joined:
    Sep 15, 2018
    Posts:
    76
    Your app com.----- version code 7 includes SDK com.unity3d.ads:unity-ads or an SDK that one of your libraries depends on, which collects personal or sensitive data that includes but may not be limited to Advertising ID, Android ID identifiers. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers as described in the user data policy.

    Starting from 11 January 2023 at midnight (UTC), new app releases containing the SDK version(s) that do not comply with the user data policy may be blocked from release. You may consider upgrading to a policy-compliant version of this SDK that does not include the violating code, if available from your SDK provider, or removing this SDK from your app.

    According to your SDK provider, you may consider upgrading to 4.0.1, and/or contacting your SDK provider to see if a suitable later version might be available. Google is unable to endorse or recommend any third-party software.

    ACTION REQUIRED: Upload a new compliant version AND deactivate the non-compliant version.

    Read through the user data policy for more details and how to submit an updated app for review here.

    If you've reviewed the policy and feel our decision may have been in error, please reach out to our



    I have downgraded the version to 4.0.1 but while uploading this error popped up again. I also refilled the privacy and data collection questionnaire on the developer's console according to unity's guidelines.
     
    Jimaniki likes this.
  2. lostplesed

    lostplesed

    Joined:
    Mar 26, 2014
    Posts:
    25
    What version of Unity are you using? I've been getting this error all the time and it's driving me crazy. I have already removed unityads from my unity project package setting, and my Android project includes a version 4.0.1 of unityads. But there is still this error, and I have no idea what is going on.
     
  3. aqsanadeem82

    aqsanadeem82

    Joined:
    Sep 15, 2018
    Posts:
    76
    Was using the latest version of unity ads then after this error, I downgraded it to 4.0.1 and updated the app. but the error is still there on the play console.
     
  4. lostplesed

    lostplesed

    Joined:
    Mar 26, 2014
    Posts:
    25
    what is your unity version?i am using 2019.4.26f1.i don't know if this issue causing by unity version.
     
  5. aqsanadeem82

    aqsanadeem82

    Joined:
    Sep 15, 2018
    Posts:
    76
    I am using 2020.3.38
     
  6. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    Have you solved this problem? I'm also facing this problem now, I'm using Unity 2021.1.28 and Unity Ads 4.3.0
     
    Jimaniki likes this.
  7. Jimaniki

    Jimaniki

    Joined:
    Nov 9, 2017
    Posts:
    15
    Me too, same issue, if someone solved the problem please share the solution thank you.
     
  8. OrcaYutao

    OrcaYutao

    Joined:
    Jan 5, 2021
    Posts:
    6
    I am useless to use unity ads, I removed the unity ads package from the package manager, but the package I played still contains the “com.unity3d.ads:unity-ads” package, who knows how to completely delete the unity ads

    I used the scanning tool to scan out the reference list of the package and found that "com.unity3d.ads:unity-ads-3.4.8" exists
     
    Last edited: Feb 26, 2023
  9. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    This is great. What tool do you use to scan this list? grateful!
     
  10. OrcaYutao

    OrcaYutao

    Joined:
    Jan 5, 2021
    Posts:
    6
    Internal development tools. Also we can use grade command "./gradlew :app:dependencies" scan android studio project.
     
  11. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    I used Android Studio's built -in analysis tools, showing that my Unity ADS version was 4.3.0, but my update was still not passed!
     
  12. OrcaYutao

    OrcaYutao

    Joined:
    Jan 5, 2021
    Posts:
    6
    My app does not need to access the unity ads package. I hope to completely remove it from the project. I removed the dependency on ads from the package manager and can still check "com.unity.ads" after building the app
     
  13. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    In this case, do you try to delete all files in this address C: \ Users \ ... \ Appdata \ Local \ Unity \ Cache \ Packages, and then delete the library folder in the project and generate again?
     
  14. OrcaYutao

    OrcaYutao

    Joined:
    Jan 5, 2021
    Posts:
    6
    Thank you for your suggestion. I will try it now
     
  15. OrcaYutao

    OrcaYutao

    Joined:
    Jan 5, 2021
    Posts:
    6
    It doesn't work.....
     
  16. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    1 Using Unity Cloud Build APK
    2 Use a new computer to package
    These two are suggestions given to me by Unity. I tried a new computer, but the new computer is only useful for some of my projects.
    3 This problem with my game was solved because I was using the api systemInfo.xxx within the game that caused it.
    4 First, I changed from using Unity2020 to the LTS version of Unity2021. Then, I removed "Advertisement" from the package manager. Since I am using non-UnityAds advertisements, I didn't encounter any particular issues. After that, I built (API Level31) and uploaded it, and I was able to pass the review without any problems.

    These two are replies from netizens. They solved the problem in this way. I don’t have a perfect solution yet. I will reply you when I have more information. You can try these first.
     
  17. valonsoft

    valonsoft

    Joined:
    May 22, 2016
    Posts:
    28
    I solved this problem by migrating to Unity 2022.2
     
  18. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    Yes, you can solve this problem by upgrading to Unity 2022
     
  19. Mr-Zhou

    Mr-Zhou

    Joined:
    May 4, 2016
    Posts:
    26
    Yes, you can solve this problem by upgrading to Unity 2022