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

Multiplay-Hosting build installs fails due to casting empty string to GUID

Open
#12 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

When testing CLI setup for installs, I received this error, due to receiving an unexpected empty string:
ugs multiplay-hosting build installs 135745
Fetching installs...
Error calling GetBuildInstalls: Error converting value "" to type 'System.Guid'. Path '[0].ccd.bucketID', line 1, position 55.

But when I checked installs on another build, the data came back correctly and the CLI worked as intended.

My hunch is that it's because the functioning Build and the non-functioning Build have two different upload methods, the successful one being a Direct File Upload and the failing one being an Amazon S3 upload. They're functionally identical besides that, having been used on the same fleets and build configurations.

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

Start with the multiplay-hosting build installs 135745 command and trace how its response handles the ccd.bucketID value. Compare the Direct File Upload and Amazon S3 responses, then verify that an empty bucket ID no longer causes the command to fail while valid install data remains usable.

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.