I’m a bit confused, you called it HDR sky
And the material code you have there is for a texture cube ( hdri map ).