HDRP shadows are different from development build to normal build

So looks like the issue was on Unity I found this thread

I was having the exact same issue and after updating to .57 things all work fine.