ios热更新之后报错

  • Creator 版本: 3.7.4

  • 目标平台: ios 模拟器/真机

  • 重现方式:安卓热更新资源上传后,让ios更新下来

  • 首个报错:
    10:52:30 [ERROR]: [ERROR] file /Users/wutongfei/Desktop/MYKX/CocosEngine/cocos-engine-3.7.4/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 140
    10:52:30 [ERROR]: GLSL Linking Failed:
    ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

file /Users/wutongfei/Desktop/MYKX/CocosEngine/cocos-engine-3.7.4/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 140
10:52:30 [ERROR]: GLSL Linking Failed:
ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:52:33 [ERROR]: [ERROR] file /Users/wutongfei/Desktop/MYKX/CocosEngine/cocos-engine-3.7.4/native/cocos/renderer/gfx-metal/MTLPipelineState.mm: line 218
10:52:33 [ERROR]: Failed to create pipeline state, please check if shader/pileinelayout match with each other!

目前不确定是不是安卓资源热更新到ios之后出错,不知道问题出现在哪,我记得最开始安卓资源和ios热更新资源是可以共用的,现在不知道什么情况了

你是不是打包的时候ios和android勾选的模块不一样

好像不知道从3.几开始安卓和ios的不能共用了

1赞

安卓构建的时候渲染后端勾选VULKAN,才能和IOS共用

3赞

请问3.8.3现在还能共用吗? :see_no_evil:

请问有解决方案吗? 如果能同时支持 安卓和iOS热更新 方便很多

比如 提前把shader编译好后作为字符串 构造shader是否可行?