diff --git a/Assets/Scripts/Gameplay/ShipModShips.cs b/Assets/Scripts/Gameplay/ShipModShips.cs index b0b9a0d0c..26761ad11 100644 --- a/Assets/Scripts/Gameplay/ShipModShips.cs +++ b/Assets/Scripts/Gameplay/ShipModShips.cs @@ -34,7 +34,9 @@ public static class ShipModShips throw new InvalidOperationException($"The ship mod template prefab ({ShipModTemplate.Key}) is not loadable."); var root = new GameObject("Mod Ship Prototypes"); root.SetActive(false); - Object.DontDestroyOnLoad(root); + // DontDestroyOnLoad is play-mode only; the edit-mode play smoke builds the same prototypes + // without it, and nothing there loads scenes. + if (Application.isPlaying) Object.DontDestroyOnLoad(root); foreach (var hull in hulls) { var package = ShipModCatalog.PackageOf(catalog, hull, modsRoot);