Error at compilation with target platform

Discussion and help for Easy Save 3
Post Reply
galabyca
Posts: 1
Joined: Fri Jun 16, 2023 6:28 pm

Error at compilation with target platform

Post by galabyca »

Code: Select all

System.ArgumentException: The provided target platform group name (Stadia) is not valid.
  at (wrapper managed-to-native) UnityEditor.PlayerSettings.GetScriptingDefineSymbolsInternal(string)
  at UnityEditor.PlayerSettings.GetScriptingDefineSymbols (UnityEditor.Build.NamedBuildTarget buildTarget) [0x00007] in <69e198e79c974f7d84e1c61562bd6ca5>:0 
  at UnityEditor.PlayerSettings.GetScriptingDefineSymbols (UnityEditor.Build.NamedBuildTarget buildTarget, System.String[]& defines) [0x00000] in <69e198e79c974f7d84e1c61562bd6ca5>:0 
  at ES3ScriptingDefineSymbols.SetDefineSymbol (System.String symbol) [0x00015] in G:\Unity\Projects\Sapiens 0.1d\Assets\Plugins\Easy Save 3\Editor\ES3ScriptingDefineSymbols.cs:33 
  at ES3ScriptingDefineSymbols.SetDefineSymbols () [0x00012] in G:\Unity\Projects\Sapiens 0.1d\Assets\Plugins\Easy Save 3\Editor\ES3ScriptingDefineSymbols.cs:21 
  at ES3ScriptingDefineSymbols..cctor () [0x00000] in G:\Unity\Projects\Sapiens 0.1d\Assets\Plugins\Easy Save 3\Editor\ES3ScriptingDefineSymbols.cs:15 
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
I just purchased and installed ES3 and added the plugin to my project. The following error is thrown at compilation. I use Unity 2023.1.0. Do you know what can cause this error and how to solve it?
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Error at compilation with target platform

Post by Joel »

Hi there,

This will almost certainly be a bug at Unity's end, though I've not yet managed to replicate this at my end.

Firstly I recommend reporting this to Unity. If you then private message me your invoice number I can send over a workaround for this.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
ireth92
Posts: 4
Joined: Wed Nov 23, 2022 4:35 pm

Re: Error at compilation with target platform

Post by ireth92 »

I'm also encountering the same error. This started happening after I converted my project from version 2022.1.15f1 to 2023.1.17f1.

Code: Select all

System.ArgumentException: The provided target platform group name (Stadia) is not valid.
  at (wrapper managed-to-native) UnityEditor.PlayerSettings.GetScriptingDefineSymbolsInternal(string)
  at UnityEditor.PlayerSettings.GetScriptingDefineSymbols (UnityEditor.Build.NamedBuildTarget buildTarget) [0x00007] in <863345f06bab4c918e545a2f461c4df8>:0 
  at UnityEditor.PlayerSettings.GetScriptingDefineSymbols (UnityEditor.Build.NamedBuildTarget buildTarget, System.String[]& defines) [0x00000] in <863345f06bab4c918e545a2f461c4df8>:0 
  at ES3ScriptingDefineSymbols.SetDefineSymbol (System.String symbol) [0x00018] in D:\mirei\Documents\GitHub\SomeAdventure\Assets\Plugins\Easy Save 3\Editor\ES3ScriptingDefineSymbols.cs:46 
  at ES3ScriptingDefineSymbols.SetDefineSymbols () [0x00026] in D:\mirei\Documents\GitHub\SomeAdventure\Assets\Plugins\Easy Save 3\Editor\ES3ScriptingDefineSymbols.cs:31 
  at ES3ScriptingDefineSymbols..cctor () [0x00001] in D:\mirei\Documents\GitHub\SomeAdventure\Assets\Plugins\Easy Save 3\Editor\ES3ScriptingDefineSymbols.cs:15
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Error at compilation with target platform

Post by Joel »

Hi there,

If this is the same issue, this was resolved in the latest update. If updating doesn't resolve the issue please could you replicate this in a new project with a simple scene and private message it to me with instructions and your invoice/order number.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
ireth92
Posts: 4
Joined: Wed Nov 23, 2022 4:35 pm

Re: Error at compilation with target platform

Post by ireth92 »

Deleting all the plugin's files and re-downloading it solved the issue. Thank you, Joel.

Regards,
Mireia
Post Reply