Search Issue Tracker

In Progress

Fix In Review for 6000.1.X, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4

Votes

0

Found in

6000.1.16f1

6000.2.0b4

6000.3.0b1

Issue ID

UUM-117277

Regression

Yes

UnityConnectWebRequestException: Error while getting current user for project Error is logged when opening Project without access to the assigned Organization

-

Steps to reproduce:

  1. Open the attached Project
  2. Observe the Console
  3. Navigate to Edit > Project Settings > Services

Actual results: When the Project was opened by someone who doesn't have access to the original Organization, Errors "UnityConnectWebRequestException: Error while getting current user for project.
UnityEditor.Connect.UnityConnectRequests.GetCurrentUserRoleForProject (System.String projectId, System.Threading.CancellationToken cancellationToken) (at <6f18b99a042a4918aa6f33ceeec781c8>:0)
UnityEditor.Connect.ServicesProjectSettings.RefreshCurrentUserRole () (at <432dd5ae2e174677a0c856cd162e23ec>:0)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()"

&

"Could not obtain organization details for organization "5772473271746". This might be caused by network issues. Try using the refresh button.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()"

are logged, even though the Services panel of Project Settings has no refresh button available

Expected results: Previous implementation showed a different Message in the Services panel, enabling users to immediately make a new link for the project, now it suggest refreshing the panel when there is no refresh button. This implementation should be brought back

Reproducible with versions: 6000.1.0b3, 6000.1.16f1, 6000.2.4f1, 6000.3.0b1

Not reproducible with versions: 2022.3.66f1, 6000.0.56f1, 6000.1.0b2

Tested on (OS): Windows 11

  1. Resolution Note (fix version 6000.5.0a4):

    Fixed error logs and incorrect UI state in Project Settings > Services when opening a project bound to an organization the user doesn't have access to. The Editor now correctly shows the "Refresh access" screen instead of logging errors.

  2. Resolution Note (fix version 6000.4.0b3):

    Fixed error logs and incorrect UI state in Project Settings > Services when opening a project bound to an organization the user doesn't have access to. The Editor now correctly shows the "Refresh access" screen instead of logging errors.

  3. Resolution Note (fix version 6000.3.3f1):

    Fixed error logs and incorrect UI state in Project Settings > Services when opening a project bound to an organization the user doesn't have access to. The Editor now correctly shows the "Refresh access" screen instead of logging errors.

  4. Resolution Note (fix version 6000.1):

    Fixed error logs and incorrect UI state in Project Settings > Services when opening a project bound to an organization the user doesn't have access to. The Editor now correctly shows the "Refresh access" screen instead of logging errors.

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.