Search Unity

Failed Import Package

Discussion in 'Editor & General Support' started by paavann, Apr 7, 2021.

  1. paavann

    paavann

    Joined:
    Nov 21, 2018
    Posts:
    36
    Hi, I want to open unity, my project and then import a package that i have stored in my system .
    so I am using this command:

    unity.exe -batchmode -projectPath "D:\MyProject\TwoPunchMan" -importPackage "C:\Users\Santy\Downloads\testing\LeanTouch"

    it gives error : Failed importing package. It happens with every package.

    I tried without using -batchmode. I get same error in console.

    I will run this command at jenkins which will import a package at my project and will trigger build.
    I wonder what will happen if there are some scripts that are already available in my project . Will it replace all things by itself or prompt a gui to choose?

    Using unity 2019.4.7f1.
    Please guide me how to do it?