Similar issue is also present if you repeat the steps but in screen space shadows>maximum property.{}
Steps to reproduce:
1. Open any project with HDRP
2. Change the maximum shadows on screen as shown in the video
Actual results:
Rendering will break with errors in the console
Tested on: mac and windows