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

Question Package [com.unity.render-pipelines.universal@14.0.6] cannot be found on cloud build only

Discussion in 'Package Manager' started by FunInfused, Feb 13, 2023.

  1. FunInfused

    FunInfused

    Joined:
    Jun 16, 2021
    Posts:
    16
    I am getting the below errors when doing Cloud builds for iOS. I do not see these errors when I run my game from the editor.

    [error] [2023-02-13T06:07:07Z - Unity] An error occurred while resolving packages:
    [2023-02-13T06:07:07Z - Unity] Project has invalid dependencies:
    [2023-02-13T06:07:07Z - Unity] com.unity.render-pipelines.universal: Package [com.unity.render-pipelines.universal@14.0.6] cannot be found
    [2023-02-13T06:07:07Z - Unity]
    [2023-02-13T06:07:07Z - Unity] A re-import of the project may be required to fix the issue or a manual modification of /BUILD_PATH/kris-steele.laserball.default-ios/Packages/manifest.json file.
    [2023-02-13T06:07:07.144Z] - 7.2.6.2.4.2 - INFO: Unity ran in '42.91513' seconds
    [warning] [2023-02-13T06:07:07.144Z] - 7.2.6.2.4.2 - WARN: Running Unity in Batch Mode can help reproduce and debug potential build/test issues.
    [warning] [2023-02-13T06:07:07.144Z] - 7.2.6.2.4.2 - WARN: For additional information on building in Batch Mode see https://support.unity.com/hc/en-us/...o-I-Build-Unity-Project-in-Batchmode-Locally-
    [warning] [2023-02-13T06:07:07.144Z] - 7.2.6.2.4.2 - WARN: Try running Unity 2020.3.44f1 in batch mode locally with the following commands:
    [warning] [2023-02-13T06:07:07.144Z] - 7.2.6.2.4.2 - WARN: When running from Mac:
    [warning] [2023-02-13T06:07:07.144Z] - 7.2.6.2.4.2 - WARN: /APPLICATION_PATH/Unity/Hub/Editor/2020.3.44f1/Unity.app/Contents/MacOS/Unity -logFile {PATH_TO_LOG_FILE} -projectPath {PROJECT_PATH} -batchmode -skipMissingProjectID -skipMissingUPID -buildTarget ios --quit -executeMethod {CLASS_AND_STATIC_METHOD_NAME_OF_BUILD_SCRIPT} -quit
    [error] [2023-02-13T06:07:07.145Z] - 7.2.6.2.4.2 - FATAL: ! Unity player export failed!
    I'm kinda new to Unity. The error message suggests "A re-import of the project may be required to fix the issue or a manual modification of /BUILD_PATH/kris-steele.laserball.default-ios/Packages/manifest.json file." but I'm not sure how to do any of that or project its asking me to re-import.
     
  2. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    481
    Hi @FunInfused,

    It looks like your Cloud build is done with Unity 2020.3.44f1, while you locally used Unity 2022.2.5f1 or 2022.6f1 (those are the two versions where com.unity.render-pipelines.universal 14.0.6 is available). Configuring your Cloud build to use the same version you used yourself should solve the problem, ie 2022.2.5f1 or 2022.6f1. Alternatively, you could downgrade your project to 2020.3.44f1 but that may be more difficult to do.
     
  3. FunInfused

    FunInfused

    Joined:
    Jun 16, 2021
    Posts:
    16
    Oh wild, I had no idea the Cloud Build would use anything other than the version that your project was built with.

    Got that switched and I'm good now.
     
    maximeb_unity likes this.