Please make PreviewRenderUtility.AddManagedGO a public method. it’s necessary to make a custom editor that serializes references to game objects that are being previewed, which is necessary to prevent potential loss of work for a custom tool (in my case, one that sets up an asset in a custom way to create a new prefab) across domain reloads. My tool references game objects that are being previewed and PreviewRenderUtility destroys all of its objects.
An alternative solution might be to make a public accessor for PreviewRenderUtility.m_PreviewScene, which may avoid potential confusion between the AddSingleGO and AddManagedGO methods, if that’s a concern.
Thanks for considering.