HideFlags.DontSave is useful when an object should live outside normal scene saving. It won’t be saved to the Scene, it survives scene loads and you need to clean it up manually.
Good to know:
objects with HideFlags.DontSave won’t show up in Unity’s Find*ByType APIs. pic.twitter.com/nYOcsqbIVn— Binary Impact (@BinaryImpactG) April 28, 2026