Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.7f1
2022.1
Issue ID
1396874
Regression
No
Custom Settings Provider does not save edited values
Reproduction steps:
1. Open the user's attached project
2. Open Edit > Project Settings > MyCustomSettingsProvider
3. Change one of the fields
4. Close and open Unity Editor
5. Open Edit > Project Settings > MyCustomSettingsProvider
Expected result: Changes have been saved
Actual result: Changes didn't save
Reproduced with: 2019.4.35f1, 2020.3.27f1, 2021.2.9f1, 2022.1.0b5
Could not test with: 2022.2.0a2 ("The name 'Unsafe' does not exist in the current context")
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.2.X):
The issue is in the user code. In fact, you should create a C# Script with the same name as your custom settings class. In this case, you should create a separate C# script, MyCustomSettings.cs, for your MyCustomSettings class. In other words, your DearImGuiSettings.cs script should only contain your MyCustomSettingsProvider class. Once that is done, you should reinitialize your MyCustomSettings.asset by deleting it in your Project browser and reactivating it by clicking on your custom settings page in the Project Settings window.