Unity-Technologies / Unity-Technologies/unity-gaming-services-cli

ugs commands fail when the windows user has a space in it

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
47
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I have the lastest (v1.7.1) version of ugs installed on a windows 11 machine where the windows usersname has a space in it (C:\users\pzg laptop2).
When i try to run ugs (even when the ugs.exe itself is in a folder without any spaces) I get the following error:

PS C:\agent> ugs
The term 'C:\pzg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by running ugs in PowerShell on Windows with a user path containing spaces, such as C:\users\pzg laptop2. Trace how the ugs command or ugs.exe handles the user path and identify where the path is split. Done means the command starts successfully for that Windows setup without affecting paths that contain no spaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.