Search Issue Tracker

Fixed in 2022.1.X



Found in



Issue ID




[HDRP] NullReferenceException in UnityEditor.PreferencesProvider.WriteRecentAppsList after clicking Clean GI Cache button

Window management


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:
"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.

- 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.

Comments (1)

  1. rubycampbell1

    Mar 17, 2023 07:53

    Many homeowners, despite their best efforts, occasionally lack the time or resources necessary to maintain their homes clean. The risks associated with cleaning solar panels and roof tiles are given special consideration. For more information on driveway cleaning in Phillip, visit No matter how big or little your house is, our exterior house washers will subtly transform it.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.