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

how do i get Unity cloud build to install a .tgz/tarball?

Discussion in 'Unity Build Automation' started by dogsaregreat, Aug 20, 2021.

  1. dogsaregreat

    dogsaregreat

    Joined:
    Sep 5, 2018
    Posts:
    21
    Currently in one of my manifest.json packages, it includes a .tgz as part of its dependencies. When I push onto my master and Unity Cloud begins building, I get an error

    Code (CSharp):
    1.    
    2.     163: [Unity] An error occurred while resolving packages:
    3.     164: [Unity]   Project has invalid dependencies:
    4.     165: [Unity]     com.kyrylokuzyk.arfoundationremote: The file [/BUILD_PATH/PROJECTNAME/Assets/Plugins/ARFoundationRemoteInstaller/com.kyrylokuzyk.arfoundationremote.tgz/package.json] cannot be found
    5.     166: [Unity] A re-import of the project may be required to fix the issue or a manual modification of /BUILD_PATH/PROJECTNAME/Packages/manifest.json file.
    6.     167:        Unity ran in '79.023162' seconds
    7.     168:        ! Unity player export failed!
    8.     169: ! build of 'PROJECTNAME' failed. exit
    9.  
    Currently, my only solution is to remove this dependency line from my manifest.json whenever I push to master to avoid this error but then whenever I work again in my workstation, I need to re-install the plugin.

    I've already mentioned this issue in the developer's original thread (https://forum.unity.com/threads/ar-...-your-ar-project-in-the-editor.898433/page-13), but I am wondering if anyone here has found any alternative solutions or if there's something i am doing wrong
     
  2. tchapman_lumineye

    tchapman_lumineye

    Joined:
    Sep 1, 2021
    Posts:
    10
    Hi, did you ever figure out this issue?
     
  3. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,070
    I'm not sure if your issue was connected to the recently discovered bug in AR Foundation Remote or to the gitignore, but I'll post an answer here for future visitors.
    https://forum.unity.com/threads/ar-...ect-in-the-editor.898433/page-16#post-7715662
     
    tchapman_lumineye likes this.