diff --git a/Runtime/codebase/Exporters/WebGLTemplatesExporter.cs b/Runtime/codebase/Exporters/WebGLTemplatesExporter.cs index 253882d7..9fec8317 100644 --- a/Runtime/codebase/Exporters/WebGLTemplatesExporter.cs +++ b/Runtime/codebase/Exporters/WebGLTemplatesExporter.cs @@ -4,8 +4,6 @@ using UnityEngine; using UnityEditor; using System.IO; -using UnityEditor.SceneManagement; -using UnityEngine.SceneManagement; /// Inspired by Author: Jonas Hahn, Source: https://github.com/Woody4618/Solana.Unity-SDK/blob/main/Runtime/codebase/WebGLTemplatePostProcessor.cs @@ -82,14 +80,10 @@ private static void OnScriptsReloaded() Vector2.zero); PlayerSettings.SplashScreen.background = backgroundSprite; } - - - // Save the changes - EditorSceneManager.MarkSceneDirty(SceneManager.GetActiveScene()); } } } } -#endif \ No newline at end of file +#endif