Search Issue Tracker

Active

Votes

0

Found in

Not Applicable

Issue ID

UUM-131991

Regression

Yes

User gets "Build Automation failed to fetch Credentials - System.Exception: {"error":"not found","detail":["not found"]}" error after adding the "Build Automation Settings" and creating Unity Version Control workspace

Unity Build Automation

-

Steps to reproduce:

  1. Create a new Universal 2D project
  2. Go to "File > Build Profiles"
  3. Select the Windows platform and click the "Add Build Profile" button
  4. Leave the default name and click the "Add Build Profile" button
  5. Click "Cloud Build" and install the Build Automation settings/package
  6. Click the "Configure Unity version Control" button, which should become visible in the help box below the "Build Automation Settings" section
  7. Click the "Create workspace" button in the "Unity Version Control" window
  8. Click the "Create workspace" button again when the "Create a new workspace" becomes prefilled with data
  9. Return to the Build Profiles window
  10. Click the "Refresh" button, which is displayed below the "Configure Unity version Control" button
  11. Observe the Console window

Actual results: Console displays this error
{code:java}
Build Automation failed to fetch Credentials - System.Exception: {"error":"not found","detail":["not found"]}
  at Unity.Services.CloudBuild.Editor.BuildAutomationApiClient.CreateJsonGetRequestAsync[T] (System.String url) [0x000e4] in ./Library/PackageCache/com.unity.services.cloud-build@8193a1137e9f/Editor/BuildAutomationApiClient.cs:120 
  at Unity.Services.CloudBuild.Editor.Components.BuildAutomationCredentialsConfig.FetchCredentials (System.Threading.CancellationToken cancellationToken) [0x00038] in ./Library/PackageCache/com.unity.services.cloud-build@8193a1137e9f/Editor/Components/BuildAutomationCredentialsConfig.cs:71 
UnityEngine.Debug:LogError (object)
Unity.Services.CloudBuild.Editor.Components.BuildAutomationCredentialsConfig/<FetchCredentials>d__17:MoveNext () (at ./Library/PackageCache/com.unity.services.cloud-build@8193a1137e9f/Editor/Components/BuildAutomationCredentialsConfig.cs:96)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Collections.Generic.List`1<Unity.Services.CloudBuild.Editor.GetCredentialsResponse>>:SetException (System.Exception)
Unity.Services.CloudBuild.Editor.BuildAutomationApiClient/<CreateJsonGetRequestAsync>d__18`1<System.Collections.Generic.List`1<Unity.Services.CloudBuild.Editor.GetCredentialsResponse>>:MoveNext () (at ./Library/PackageCache/com.unity.services.cloud-build@8193a1137e9f/Editor/BuildAutomationApiClient.cs:149)
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
Unity.Services.CloudBuild.Editor.UnityWebRequestAwaiter:OnRequestCompleted (UnityEngine.AsyncOperation) (at ./Library/PackageCache/com.unity.services.cloud-build@8193a1137e9f/Editor/UnityWebRequestAwaiter.cs:31)
UnityEngine.AsyncOperation:InvokeCompletionEvent () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/AsyncOperation.cs:24) {code}
Expected results: No errors in the Console. The user should receive a help box with additional information about the Build Automation settings.

Reproducible with versions: 6000.5.0a3,  6000.5.0a4

Not reproducible with versions: 6000.5.0a2

Tested on (OS): macOS - Tahoe 26.2

Notes: more info -> Supported Unity Versions

 

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.