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

Bug Android bug: bad UNITY_PLAYER_PATH env variable value since last Weds.

Discussion in 'Unity Build Automation' started by jwsquid, May 22, 2023.

  1. jwsquid

    jwsquid

    Joined:
    Nov 11, 2022
    Posts:
    4
    We noticed our Android builds had been quietly failing since last week. Turns out, the builds are working fine bug the UNITY_PLAYER_PATH environment variable we're getting on the UCB machines are suddenly invalid resulting in our custom post build upload step failing because it is no longer getting a valid path to the generated .apk from this env. var.

    This is the invalid value we are getting for the "UNITY_PLAYER_PATH" environment variable:

    /BUILD_PATH/xxxxxxxxxxxxxxx-2184-4c58-8730-de0c87lszyui/.build/last/xxxxxxx-android-development-debug/build.apkUNITY_PLAYER_PATH_DEBUG_SYMBOLS=/BUILD_PATH/xxxxxxxxxxx2184-4c58-8730-de0c87lszyui/.build/last/xxxxxxx-android-development-debug/build-0.2.1496-v60.symbols.zip

    Note the concatenation of the UNITY_PLAYER_PATH_DEBUG_SYMBOLS environment var appended to the value of the UNITY_PLAYER_PATH environment var.
     
  2. jwsquid

    jwsquid

    Joined:
    Nov 11, 2022
    Posts:
    4
    And... this issue magically resolved itself today. Love that magic.