Dinomite-Studios / unity-azure-pipelines-tasks

Azure DevOps extension adding tools to build and deploy Unity 3D projects using Azure Pipelines
https://unitydevops.com/
MIT License
121 stars 49 forks source link

UnityCMD results in an error when run as a Task - "path" argument must be of type string #223

Open SimonDarksideJ opened 1 year ago

SimonDarksideJ commented 1 year ago

When running the following UnityCMD task in an attempt to try and activate a personal license, the Log simply spit out the following error:

==============================================================================
The "path" argument must be of type string. Received type undefined
##[error]The "path" argument must be of type string. Received type undefined

YAML

- task: UnityCMDTask@1
  name: UnityLogin
  inputs:
    unityProjectPath: 'TheMostAwesomeGameEverMade/'
    cmdArgs: '-quit -nographics -username $(unity.username) -password $(unity.password)'

The help for the Task indicates that:

Specify command line arguments. The task will set -batchmode, -projectPath, -buildTarget and -logfile for you. See the [documentation](https://docs.unity3d.com/Manual/CommandLineArguments.html) for more info.

So no path was expected to be added?