Reproduction steps:
1. Create and open a new HDRP project
2. Import the attached asset "speedtree8VT.unitypackage"
Expected result: The asset import was successful
Actual result: The import failed with the error "Asset import failed, "Assets/Shaders/Lit (Speedtree8).shadergraph" > InvalidOperationException: Cannot add a null object : MainAsset"
Reproducible with: 2022.2.0a8, 2022.2.0b4, 2023.1.0a5
Not reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.11f1, 2022.2.0a7
Reproduced on: Windows 10 Pro
Note: The issue reproduces only on an HDRP project