Skip to content
Docs
Errors

studio-duplicate-name

Two objects share a name; references by name become ambiguous.

KindStudio problem
Reported byStudio validation: the Problems panel, Play, Publish and the MCP validate tool
Code in the Studioduplicate-name

This is a warning. Names must be unique for expressions and scripts to tell objects apart. Two values of one enumeration with the same name are an error, not a warning: the game tells values apart by name, so they would merge.

Fix

  • Rename one of the objects (F2 in the explorer), or one of the values.

See also