How to reproduce:
- Open the attached project “IN-150127”
- Open “Project Settings → Services” and link the Unity project to a Cloud project
- In a web browser, open “cloud.unity.com”
- In the navigation panel on the left, select “Administration → Service accounts”
- Create a new Service Account
- In the opened window select “Add key”
- Add the created Key ID and Secret key to the “server-auth-credentials.json” file in the downloaded project’s directory
- Scroll down to “Project roles” and select “Manage project roles”
- Select the Cloud project that was linked in step 2
- Under “Admin” select “Unity Environments Admin” and save the change
- In the Editor, open the “Repro” scene
- Enter Play Mode
- Observe the Console
Actual result: Token refresh fails with a “Failed to refresh access token due to network error or internal server error, will retry later.” warning
Expected result: Token refresh succeeds and the server state is not moved to “Expired”
Reproducible with: 3.0.0 (6000.0.0f1), 3.7.3 (6000.7.0a4)
Reproducible on: macOS 26.5.2 (M4 Max)
Not reproducible on: No other environments tested