The unity html export option is quite buggy in my experience, only way I got it to work was to use a different pc
I use godot now and can export normally