一、前情概述

  • 开发环境:Win10 + Unity2020.3.40
  • 部署环境:WebGL
  • 在本机服务器web模拟环境测试的时候报错

二、报错内容

在这里插入图片描述

http response header “content-type” configured incorrectly on the server for file Build/buildFolder.wasm.gz,should be application/wasm

三、解决办法

更改index模板文件
在这里插入图片描述

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐