unity – WebGL Project Builds, But Doesn’t Load

Every time I build my project I get these errors,


The weird thing is, if I go build and run, it runs just fine, but if I close it and try opening the index.html file, I get these errors.

Does anyone know how to fix this? I looked around, and found a few solutions, but none of them worked for me. I’ve disabled compression and turned on compression fallback and tried a few other solutions I’ve found, with no luck.