Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


userId

A random GUID uniquely identifying an Editor installation.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static string userId { get; }

Remarks

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.