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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
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.