Search Issue Tracker
Fixed
Fixed in 2022.1.15f1, 2022.2.0b6, 2023.1.0a2
Unknown (hidden) 2021.3.X
Votes
2
Found in
2021.3.6f1
2022.1.10f1
2022.2.0b2
2023.1.0a1
Issue ID
UUM-3083
Regression
Yes
Scripting Define Symbols are deleted after applying changes when External Script Editor is set to "Open by file extension"
Reproduction steps:
1. Open the user's attached "Unity 2022.zip" project
2. Go to Edit > Project Settings > Player > (select any platform except Windows, Mac, Linux) > Script Compilation > Script Define Symbols
3. Press the "Add to the list" button
4. Write a name for a Scripting Define Symbol and press the "Apply" button
Expected result: Scripting define Symbol is saved
Actual result: Scripting define Symbol is deleted
Reproducible with: 2022.1.0a2, 2022.1.0f1, 2022.2.0a11
Not reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.3.1f1, 2022.1.0a1
Notes:
- Setting External Script Editor to Visual Studio or Rider and restarting the project fixes the issue (may need to repeat a couple of times)
- Scripting Define Symbols aren't deleted in "Settings for Windows, Mac, Linux"
- Scripting Define Symbols created in "Settings for Windows, Mac, Linux" are also transferred to other platforms
Comments (2)
-
Kajta
Oct 06, 2022 21:13
You can fix this by filling in the scripting define symbols manually in the standalone version section of your ProjectSettings.asset file in the ProjectSettings folder of your project.
-
creat327
Jul 15, 2022 21:52
will this never get fixed? It is super critical, we can't build for any platform that requires define symbols!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 2023.1.0a2):
Fixed in: 2023.1.0a2
Resolution Note (2021.3.X):
Already fixed - see note from Suresh