- Home /
Question by
zgrkpnr89 · Apr 25, 2020 at 07:58 PM ·
editoreditor-scriptingproject settings
I can't update Scripting Define Symbols.
I have written an Editor script to change player settings
var originalSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup.Android);
PlayerSettings.SetScriptingDefineSymbolsForGroup(BuildTargetGroup.Android, originalSymbols + ";PRODUCTION2");
It worked. But now I cannot modify Scripting Define Symbols manually using Editor. I modify the values and when I close the Project Settings windows the values are set to unmodified ones automatically.
Is there something I can do to fix this?
Comment
Your answer
Follow this Question
Related Questions
Custom Project Settings Section 0 Answers
Access Monobehavior Instance from Static Function of Editor Script 1 Answer
Is it possible to have editor-only native plugins? 0 Answers
Editor scripting - How to show the Assets menu as a context menu 1 Answer
Cannot close/unload a scene that is open in editor during playmode (using C# code)? 3 Answers