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
Steps to reproduce:
- Create a new Universal 2D project
- Go to "File > Build Profiles"
- Select the Windows platform and click the "Add Build Profile" button
- Leave the default name and click the "Add Build Profile" button
- Click "Cloud Build" and install the Build Automation settings/package
- Click the "Configure Unity version Control" button, which should become visible in the help box below the "Build Automation Settings" section
- Click the "Create workspace" button in the "Unity Version Control" window
- Click the "Create workspace" button again when the "Create a new workspace" becomes prefilled with data
- Return to the Build Profiles window
- Click the "Refresh" button, which is displayed below the "Configure Unity version Control" button
- 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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Add comment