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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
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.