Unity团结引擎开发开发踩坑日记
- 团结引擎转换微信小游戏报错:Exception: Invalid WebGL template path:XXX
- The file can not be loaded because it was created for another build target that is not compatible with this platform.
- Error: Cannot create FMOD::Sound instance for resource archive:/CAB-aca4c22c96bd4237efc93d78dd357c51/CAB-aca4c22c96bd4237efc93d78dd357c51.resource, (File not found. )
第一坑
团结引擎转换微信小游戏报错:Exception: Invalid WebGL template path:XXX

微信小游戏转换SDK 下载,因为我电脑上没有部署git,所以是直接下载导入到项目中,结果转换的时候就会报错。
原因:WXSDK的WXConvertCore.cs源码的地址是“Packages/com.qq.weixin.minigame/WebGLTemplates/WXTemplate2022TJ”。但是导入的WebGLTemplates文件不在Packages文件下。
第二坑

最低0.47元/天 解锁文章
1740





