diff --git a/source/PluginDev/Assets/GooglePlayGames/Editor/GPGSUpgrader.cs b/source/PluginDev/Assets/GooglePlayGames/Editor/GPGSUpgrader.cs index 74dcb099c..ba45782f3 100644 --- a/source/PluginDev/Assets/GooglePlayGames/Editor/GPGSUpgrader.cs +++ b/source/PluginDev/Assets/GooglePlayGames/Editor/GPGSUpgrader.cs @@ -33,6 +33,8 @@ public class GPGSUpgrader /// static GPGSUpgrader() { + if (EditorApplication.isPlayingOrWillChangePlaymode) + return; Debug.Log("GPGSUpgrader start"); string initialVer = GPGSProjectSettings.Instance.Get(GPGSUtil.LASTUPGRADEKEY, "00000"); if (!initialVer.Equals(PluginVersion.VersionKey))