- Home /
Question by
Kiarash_Nourafshan · Jun 25, 2021 at 03:48 PM ·
webgl
Unity WebGl .unityweb extension error when imported in ASP.net core MVC
So I made a game using unity 2021.1.1 and built it. When I tried to run the generated "index.html" file it said it should be running on a server. so I imported it into Visual studio. when I run the app, it loads to like 90% and then says:
"Unable to parse Build/webgl.framework.js.unityweb! The file is corrupt, or compression was misconfigured? (check Content-Encoding HTTP Response Header on web server)"
I tried using gz compression setting but it didn't help. What should I do?
][1]][1]][1]][1]][1]][1]
Comment
Your answer
