Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2021.2.0a19
2021.2.0b1
Issue ID
1343598
Regression
Yes
[HDRP] NullReferenceException in UnityEditor.PreferencesProvider.WriteRecentAppsList after clicking Clean GI Cache button
Steps to repro:
1. Create the new HDRP project and open SampleScene;
2. In the Preferences window (Edit>Preferences) go to GI Cache tab;
3. Click Clean Cache button.
Expected result:
GI cache is cleared without errors in the Console.
Actual result:
Error:
"NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PreferencesProvider.WriteRecentAppsList (System.String[] paths, System.String path, System.String prefsKey) (at <ca192453d8394227952a14f40675979e>:0)"
is shown. See attached video.
Notes:
- Reproducible in 2021.2.0b1, 2021.2.0a19;
- Not reproducible in Version 2021.2.0a18, 2021.1.13f1;
- Reproducible on Windows;
- Reproducible in HDRP; could not repro in built-in RP and URP.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Add comment