Search Issue Tracker

Active

Votes

0

Found in

6000.2.7f1

6000.3.0b4

6000.4.0a1

Issue ID

UUM-120502

Regression

Yes

Unity Services are not disabled and cause longer build times when the project is not connected to Unity Cloud

-

How to reproduce:
1. Create and open a new local (disconnected from Unity Cloud) project in Unity Hub
2. Build and run the project, then close the Player
3. Build and run the project again, then close the Player
4. Observe the Console
5. Open the ProjectSettings → UnityConnectSettings.asset in Notepad
6. Disable (change 1’s to 0’s) the following lines (in a downward sequence):
6.1. m_Enabled: 1 (under “UnityConnectSettings: ”)
6.2. m_EngineDiagnosticsEnabled: 1 (under “InsightsSettings: ”)
6.3. m_CaptureEditorExceptions: 1 (under “CrashReportingSettings: ”)
6.4. m_InitializeOnStartup: 1 (under “UnityAnalyticsSettings: ”)
6.5. m_InitializeOnStartup: 1 (under “UnityAdsSettings: “)
7. Save the changes
8. Build and run the project again, then close the Player
9. Observe the Console

Expected result: No time difference, no warning
Actual results: Time taken to build in step 9 takes around 3 times less than in step 4, and an “Exception occurred attempting to connect to Unity services…“ warning is thrown

Reproducible in: 6000.2.0b7 (f57a55ac740d), 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Not reproducible in: 6000.0.59f1, 6000.2.0b6

Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested

Notes:
- Steps 5-9 are more of a workaround for the issue to observe the difference, so the actual reproduction of the problem is in steps 1 through 4
- Projects that are connected to Unity Cloud build at the same speed as projects built in step 9 when it’s not connected to Unity Cloud
- Upgrading/Downgrading the project seems to fix the issue as well, so to reproduce consistently, the project should be created again each time the bug is reproduced

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.