Hey I've had your same issue when compiling for webgl. If you still haven't figured it out yet you need to disable compression or turn it to gzip in the player settings -> publishing settings. Im still trying to get it to work with urp tho
Thank you!!