Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2022.1.0a13
Issue ID
1375929
Regression
Yes
“Value cannot be null. Parameter name: source” exception is thrown when overwriting preset file while Inspector is empty
Reproduction steps:
1. Open attached project "ProjectSettingsRevert.zip"
2. In Project Settings window, open Input Manager tab
3. Make sure that the Inspector window doesn't have any Asset/GameObject selected
4. Open "Select Preset" dialog by clicking the Preset selector (the slider icon) at the top-right of the Inspector window
5. In "Select Preset" dialog, press "Save current to..." and overwrite any previously existing Preset file
6. Observe Console window
Expected result: No errors
Actual result: “ArgumentNullException: Value cannot be null. Parameter name: source” error
Reproducible with: 2022.1.0a13
Not reproducible with: 2019.4.32f1, 2020.3.21f1, 2021.1.27f1, 2021.2.0f1, 2022.1.0a12
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
- “This version of Unity is not currently available for use with Build Automation” warning is shown only after setting up Cloud and Version Control warnings when adding Build Automation to a Build Profile
- Crash on ProfilerSymbolsDelayedDeletion::AddCloneObject when deserializing an object-instantiate marker with a dangling/corrupt name string
- Characters overlap preceding text when monospace tags are used on a TMP_Text component set to RTL
- Wrong range is displayed in a 'resolutionPerPatch is clamped to the range of' warning
- Debug mode fails to build in Visual Studio when .csproj file is generated for Built-in packages
Resolution Note (fix version 2022.1):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b7