Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

EditorAnalyticsSessionInfo.userId

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static string userId;

Description

A random GUID uniquely identifying an Editor installation.

Unity generates the userId GUID immediately after installation. The userId value is only regenerated if the user re-installs the Unity Editor. Each instance of Unity on the same computer generates a its own userId. Note that this userId is not connected to the Unity account login or username. It is only used to identify which sessions were produced by the same install of the Editor.