Essential Attributes [SceneRef]


Display dropdowns for scene selection in string or int fields, with automatic path tracking and smart broadcasting across your project.


by Foxal Face


Price History +

The [SceneRef] attribute replaces raw string or int fields with scene selection dropdowns in the Unity Inspector — no more typos, missing paths, or guessing build indices.

  • Use it on a string to pick from all scenes in your project.
  • Use it on an int to pick only from scenes in Build Settings (since the int represents the build index).

Beyond its editor UI improvements, [SceneRef] includes a powerful broadcasting system that keeps scene references in sync — even if a scene file is renamed or moved. When a path changes, all serialized references can be updated automatically.

To optimize performance, broadcasting is:

  • Optional (can be toggled on or off),
  • Confirmable (prompted before applying),
  • And targeted: you can define exactly which folders, scenes, and prefabs should be scanned and updated.

💡 Try Before You Buy

This attribute is also included in the Essential Attributes asset — or try [ElementName]and [TexturePreview] for free on the Unity Asset Store.