An editor utility designed to replace a set of selected objects with another. Useful to swap out placeholder objects with prefabs, at any development stage.Supports undo/redo actions and retaining: layer, tag, static flags, scale, rotation, name and prefab overrides. Hierarchy position is always kept intact when replacing.Becomes available under the "GameObject -> Replace Selected" menu.Note: Unity won't allow replacing objects that are inside a prefab instance. An error will be thrown to notify you when this is attempted.Undo/Redo support is bypassed in Unity 2021.2+ when replacing something inside a prefab, due to a fatal editor bug, causing a crash.