Skip to content

PrefabEntityId

PrefabEntityId = string

Defined in: prefab/types.ts:17

Per-entity identity inside a prefab file.

The string is opaque — UUIDs for editor-authored prefabs, stringified integers for migrated legacy files. Stability matters more than format: once an entity has been assigned a PrefabEntityId, the editor must never reassign or reuse it for the lifetime of the prefab, otherwise existing instance overrides will silently apply to the wrong target.