Search Unity

Google Play upload failure with builds from Unity Cloud Build

Discussion in 'Unity Build Automation' started by alan-lawrance, Sep 2, 2020.

  1. alan-lawrance

    alan-lawrance

    Joined:
    Feb 1, 2013
    Posts:
    360
    When making an Android build through Unity Cloud Build, I get the following error in the Google Play Console when trying to upload the APK:

    Your APK or Android App Bundle needs to have the package name com.XXXX.YYYY.

    Where XXXX is the Company Name, and YYYY is the Product Name

    Making the build locally, I don't get this error when uploading the APK.

    I don't see anything in the Unity Cloud build config that would impact the package name, so I am not sure why this error is only occurring from builds from Unity Cloud Build.
     
  2. alan-lawrance

    alan-lawrance

    Joined:
    Feb 1, 2013
    Posts:
    360
  3. alan-lawrance

    alan-lawrance

    Joined:
    Feb 1, 2013
    Posts:
    360
    Anyone using Unity Cloud Build and uploading builds to Google Play successfully?
     
  4. Eric-Farraro

    Eric-Farraro

    Joined:
    Apr 23, 2013
    Posts:
    31
    I'm able to upload builds from Unity Cloud Build to Google Play. I don't do anything special in Unity Cloud Build to set the package name.

    It's a long shot, but any chance you're using different keys to sign the build? Also, make sure whatever local changes you have in the local Android build settings are actually in source control - I've forgotten to push the configuration a few times. I think it would be in ProjectSettings(?)