diff --git a/Assets/Scripts/SS3D/Core/ApplicationInitializerSystem.cs b/Assets/Scripts/SS3D/Core/ApplicationInitializerSystem.cs index 1b5ebe45af..fdb2a5cf9d 100644 --- a/Assets/Scripts/SS3D/Core/ApplicationInitializerSystem.cs +++ b/Assets/Scripts/SS3D/Core/ApplicationInitializerSystem.cs @@ -36,6 +36,7 @@ private void InitializeLauncher() sceneToLoad = Scenes.Launcher; } + // This call is async and not awaited. Hence the pragma disable. #pragma warning disable CS4014 Scene.LoadAsync(sceneToLoad); #pragma warning restore CS4014 diff --git a/Assets/Scripts/SS3D/Systems/Tile/TileSystem.cs b/Assets/Scripts/SS3D/Systems/Tile/TileSystem.cs index 9034b4ad13..18094183f9 100644 --- a/Assets/Scripts/SS3D/Systems/Tile/TileSystem.cs +++ b/Assets/Scripts/SS3D/Systems/Tile/TileSystem.cs @@ -63,6 +63,7 @@ private void CreateMap(string mapName) { if (_currentMap != null) { + Log.Warning(this, $"A map is already loaded. {mapName}"); return; }