diff --git a/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs b/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs index 44e0b3ed..68052a66 100644 --- a/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs +++ b/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs @@ -12,6 +12,10 @@ [InitializeOnLoad] public class RedistInstall { static RedistInstall() { + // We only want to do this on Steam supported platforms. + if (EditorUserBuildSettings.selectedBuildTargetGroup != BuildTargetGroup.Standalone) { + return; + } WriteSteamAppIdTxtFile(); AddDefineSymbols(); CheckForOldDlls();