Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SimonDarksideJ opened this issue Mar 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@SimonDarksideJ
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants