你的 https://game.weixin.qq.com 这个应该是项目里面默认设置的cdn路径吧,需要把cdn路径修改为自己的cdn,然后从cdn加载,小程序运行时候,Application.streamingAssetPath = "cdn路径/StreamingAssets"
unity小游戏,首包资源加载方式为“小游戏包内”时,如何加载StreamingAssets中资源?[图片] [图片] 用 UnityWebRequest.Get 请求 Application.streamingAssetsPath + "/MyRes/NoversionedResManifest.txt" 时, 自动给前面拼了个 https://game.weixin.qq.com/,变成了 https://game.weixin.qq.com/StreamingAssets/MyRes/NoversionedResManifest.txt 导致404 请问正确应该如何加载?
04-15打开下面链接,用小程序账号登录,添加 unity插件授权,然后打开微信开发者工具清空缓存,重新运行一下就可以了 https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wxe5a48f1ed5f544b7&token=&lang=zh_CN
unity导出的微信小游戏运行预览的时候一直提示没有权限,要怎么添加这个权限呀message:预览 Error: 系统错误,错误码:80082,get plugin(id: wxe5a48f1ed5f544b7, version: 1.2.72) failed, permission deny [20250410 14:07:45][wxce601960ee95dee6] appid: wxce601960ee95dee6 openid: o6zAJsyapjvWVnEUy-Wm5ZsBVa5k ideVersion: 1.06.2504062 osType: win32-x64 time: 2025-04-10 14:07:52
04-10