cocos creator 3.6.1 ios 打包热更新报错

  • Creator 版本: 3.6.1

  • 目标平台: IOS

  • 重现方式:

  • 首个报错:

  • 之前哪个版本是正常的:

  • 手机型号:苹果12 Mini

  • 手机浏览器:

  • 编辑器操作系统:

  • 重现概率:
    22:59:09 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

22:59:09 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

1赞

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY1 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|USE_TEXTURE0 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_ALPHA_TEST1|USE_TEXTURE1|IS_GRAY0 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY0 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA1|USE_TEXTURE1|IS_GRAY0 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA1|USE_TEXTURE1|IS_GRAY1 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-graphics|vs:vert|fs:frag compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-unlit|unlit-vs:vert|unlit-fs:frag|CC_USE_DEBUG_VIEW0|CC_USE_HDR1 compile succeed.

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

23:06:53 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

23:06:53 [INFO]: builtin-spine|sprite-vs:vert|sprite-fs:frag compile succeed.

2022-12-31 23:06:53.234931+0800 GuitarAndroidApp-mobile[886:29668] Compiler failed to build request

2022-12-31 23:06:53.236426+0800 GuitarAndroidApp-mobile[886:29668] Compiler failed to build request

23:06:53 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLPipelineState.mm: line 382

23:06:53 [ERROR]: Failed to create MTLRenderPipelineState: RasterizationEnabled is true but the vertex shader’s return type is void

(lldb)

2023-01-01 10:59:43.012276+0800 GuitarAndroidApp-mobile[2104:110343] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named “(no name)”)

2023-01-01 10:59:43.015705+0800 GuitarAndroidApp-mobile[2104:110343] Metal GPU Frame Capture Enabled

2023-01-01 10:59:43.015817+0800 GuitarAndroidApp-mobile[2104:110343] Metal API Validation Enabled

10:59:43 [INFO]: Metal Feature Set: MTLFeatureSet_iOS_GPUFamily4_v2

10:59:43 [INFO]: Device validator enabled.

10:59:43 [DEBUG]: D/ Initializing V8, version: 9.1.269

10:59:43 [DEBUG]: D/ libuv version: 1.23.1-dev

10:59:43 [DEBUG]: D/ Number of interfaces: 28

10:59:43 [DEBUG]: D/ Debugger listening…, visit [

10:59:43 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=169.254.4.68:6086/00010002-0003-4004-8005-000600070008

10:59:43 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=192.168.3.198:6086/00010002-0003-4004-8005-000600070008

10:59:43 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=10.15.47.176:6086/00010002-0003-4004-8005-000600070008

10:59:43 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=127.0.0.1:6086/00010002-0003-4004-8005-000600070008

10:59:43 [DEBUG]: D/ ] in chrome browser to debug!

10:59:43 [DEBUG]: D/ For help see https://nodejs.org/en/docs/inspector

10:59:43 [DEBUG]: D/ JS: [WARN]: Failed to set shading scale, pipelineSceneData is invalid.

10:59:43 [INFO]: Device thread detached.

=================================================================

Main Thread Checker: UI API called on a background thread: -[UIView layer]

PID: 2104, TID: 110636, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 0

Backtrace:

4 GuitarAndroidApp-mobile 0x000000010336dd44 _ZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoE + 164

5 GuitarAndroidApp-mobile 0x000000010330eed0 _ZN2cc3gfx9Swapchain10initializeERKNS0_13SwapchainInfoE + 124

6 GuitarAndroidApp-mobile 0x00000001032ea8dc _ZZN2cc3gfx14SwapchainAgent6doInitERKNS0_13SwapchainInfoEEN13SwapchainInit7executeEv + 32

7 GuitarAndroidApp-mobile 0x00000001023a86d0 _ZN2cc12MessageQueue15executeMessagesEv + 60

8 GuitarAndroidApp-mobile 0x00000001023a872c _ZN2cc12MessageQueue13flushMessagesEv + 52

9 GuitarAndroidApp-mobile 0x00000001023a7f98 _ZN2cc12MessageQueue18consumerThreadLoopEv + 64

10 GuitarAndroidApp-mobile 0x00000001023b1d54 ZNSt3__1L8__invokeIMN2cc12MessageQueueEDoFvvEPS2_JEvEEDTcldsdescT0_fp0_fp_spscT1_fp1_EEOT_OS6_DpOS7 + 108

11 GuitarAndroidApp-mobile 0x00000001023b1cc8 _ZNSt3__1L16__thread_executeINS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEMN2cc12MessageQueueEDoFvvEJPS7_EJLm2EEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 56

12 GuitarAndroidApp-mobile 0x00000001023b1440 ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN2cc12MessageQueueEDoFvvEPS8_EEEEEPvSD + 84

13 libsystem_pthread.dylib 0x00000001f51ce6cc _pthread_start + 148

14 libsystem_pthread.dylib 0x00000001f51cdba4 thread_start + 8

2023-01-01 10:59:43.337262+0800 GuitarAndroidApp-mobile[2104:110636] [reports] Main Thread Checker: UI API called on a background thread: -[UIView layer]

PID: 2104, TID: 110636, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 0

Backtrace:

4 GuitarAndroidApp-mobile 0x000000010336dd44 _ZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoE + 164

5 GuitarAndroidApp-mobile 0x000000010330eed0 _ZN2cc3gfx9Swapchain10initializeERKNS0_13SwapchainInfoE + 124

6 GuitarAndroidApp-mobile 0x00000001032ea8dc _ZZN2cc3gfx14SwapchainAgent6doInitERKNS0_13SwapchainInfoEEN13SwapchainInit7executeEv + 32

7 GuitarAndroidApp-mobile 0x00000001023a86d0 _ZN2cc12MessageQueue15executeMessagesEv + 60

8 GuitarAndroidApp-mobile 0x00000001023a872c _ZN2cc12MessageQueue13flushMessagesEv + 52

9 GuitarAndroidApp-mobile 0x00000001023a7f98 _ZN2cc12MessageQueue18consumerThreadLoopEv + 64

10 GuitarAndroidApp-mobile 0x00000001023b1d54 ZNSt3__1L8__invokeIMN2cc12MessageQueueEDoFvvEPS2_JEvEEDTcldsdescT0_fp0_fp_spscT1_fp1_EEOT_OS6_DpOS7 + 108

11 GuitarAndroidApp-mobile 0x00000001023b1cc8 _ZNSt3__1L16__thread_executeINS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEMN2cc12MessageQueueEDoFvvEJPS7_EJLm2EEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 56

12 GuitarAndroidApp-mobile 0x00000001023b1440 ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN2cc12MessageQueueEDoFvvEPS8_EEEEEPvSD + 84

13 libsystem_pthread.dylib 0x00000001f51ce6cc _pthread_start + 148

14 libsystem_pthread.dylib 0x00000001f51cdba4 thread_start + 8

10:59:48 [DEBUG]: D/ JS: [WARN]: Read json failed: path: /var/mobile/Containers/Data/Application/B73726EB-CF7A-4E3B-BCAF-4C9C5B51F12A/Documents/gamecaches/cacheList.json message: Unexpected end of JSON input

10:59:48 [DEBUG]: D/ JS: Cocos Creator v3.6.1

10:59:50 [DEBUG]: D/ JS: Storage path for remote asset : /var/mobile/Containers/Data/Application/B73726EB-CF7A-4E3B-BCAF-4C9C5B51F12A/Documents/remote-asset

10:59:50 [DEBUG]: D/ JS: Hot update is ready, please check or directly update.

10:59:50 [DEBUG]: D/ JS: checkUpdate

10:59:50 [DEBUG]: D/ JS: now–checkUpdate

10:59:50 [DEBUG]: D/ JS: Success to load scene: db://assets/main.scene

2023-01-01 10:59:50.533237+0800 GuitarAndroidApp-mobile[2104:110636] fopen failed for data file: errno = 2 (No such file or directory)

2023-01-01 10:59:50.533308+0800 GuitarAndroidApp-mobile[2104:110636] Errors found! Invalidating cache…

2023-01-01 10:59:50.632495+0800 GuitarAndroidApp-mobile[2104:110636] fopen failed for data file: errno = 2 (No such file or directory)

2023-01-01 10:59:50.632550+0800 GuitarAndroidApp-mobile[2104:110636] Errors found! Invalidating cache…

10:59:50 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY1 compile succeed.

10:59:50 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|USE_TEXTURE0 compile succeed.

10:59:50 [INFO]: builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag compile succeed.

10:59:50 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_ALPHA_TEST1|USE_TEXTURE1|IS_GRAY0 compile succeed.

10:59:50 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY0 compile succeed.

10:59:50 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA1|USE_TEXTURE1|IS_GRAY0 compile succeed.

10:59:50 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA1|USE_TEXTURE1|IS_GRAY1 compile succeed.

10:59:50 [INFO]: builtin-graphics|vs:vert|fs:frag compile succeed.

10:59:50 [INFO]: builtin-unlit|unlit-vs:vert|unlit-fs:frag|CC_USE_DEBUG_VIEW0|CC_USE_HDR1 compile succeed.

10:59:50 [INFO]: builtin-spine|sprite-vs:vert|sprite-fs:frag compile succeed.

10:59:51 [DEBUG]: D/ JS: Code: 5

10:59:51 [DEBUG]: D/ JS: JS Custom Version Compare: version A is 1.0.41, version B is 1.0.43

10:59:52 [DEBUG]: D/ JS: Code: 5

10:59:52 [DEBUG]: D/ JS: JS Custom Version Compare: version A is 1.0.41, version B is 1.0.43

10:59:52 [DEBUG]: D/ JS: Code: 3

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: [ERROR]: ==checkCb== new version found

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:52 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: UPDATE_PROGRESSION

10:59:53 [DEBUG]: D/ JS: Update finished.

10:59:54 [DEBUG]: HttpClient singleton is nullptr

10:59:54 [DEBUG]: D/ ScriptEngine::cleanup begin …

10:59:54 [DEBUG]: D/ GC begin …, (js->native map) size: 223, all objects: 688

10:59:54 [DEBUG]: D/ GC end …, (js->native map) size: 102, all objects: 543

10:59:54 [DEBUG]: D/ GC begin …, (js->native map) size: 102, all objects: 543

10:59:54 [DEBUG]: D/ GC end …, (js->native map) size: 102, all objects: 543

2023-01-01 10:59:54.235534+0800 GuitarAndroidApp-mobile[2104:110343] unable to close due to unfinalized statements or unfinished backups

10:59:54 [DEBUG]: D/ GC begin …, (js->native map) size: 0, all objects: -1

10:59:54 [DEBUG]: D/ Function object is released!

10:59:54 [DEBUG]: D/ GC end …, (js->native map) size: 0, all objects: -1

10:59:54 [DEBUG]: D/ ScriptEngine::cleanup end …

10:59:54 [INFO]: Metal Feature Set: MTLFeatureSet_iOS_GPUFamily4_v2

10:59:54 [INFO]: Device validator enabled.

10:59:54 [DEBUG]: D/ Initializing V8, version: 9.1.269

10:59:54 [DEBUG]: D/ libuv version: 1.23.1-dev

10:59:54 [DEBUG]: D/ Number of interfaces: 28

10:59:54 [DEBUG]: D/ Debugger listening…, visit [

10:59:54 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=169.254.4.68:6086/00010002-0003-4004-8005-000600070008

10:59:54 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=192.168.3.198:6086/00010002-0003-4004-8005-000600070008

10:59:54 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=10.15.47.176:6086/00010002-0003-4004-8005-000600070008

10:59:54 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=127.0.0.1:6086/00010002-0003-4004-8005-000600070008

10:59:54 [DEBUG]: D/ ] in chrome browser to debug!

10:59:54 [DEBUG]: D/ For help see https://nodejs.org/en/docs/inspector

10:59:54 [DEBUG]: D/ JS: [WARN]: Failed to set shading scale, pipelineSceneData is invalid.

10:59:54 [INFO]: Device thread detached.

10:59:54 [DEBUG]: D/ JS: Cocos Creator v3.6.1

10:59:54 [DEBUG]: D/ JS: Storage path for remote asset : /var/mobile/Containers/Data/Application/B73726EB-CF7A-4E3B-BCAF-4C9C5B51F12A/Documents/remote-asset

10:59:54 [DEBUG]: D/ JS: Hot update is ready, please check or directly update.

10:59:54 [DEBUG]: D/ JS: JS Custom Version Compare: version A is 1.0.42, version B is 1.0.43

10:59:54 [DEBUG]: D/ JS: Success to load scene: db://assets/main.scene

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY1 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|USE_TEXTURE0 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_ALPHA_TEST1|USE_TEXTURE1|IS_GRAY0 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY0 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA1|USE_TEXTURE1|IS_GRAY0 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA1|USE_TEXTURE1|IS_GRAY1 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-graphics|vs:vert|fs:frag compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-unlit|unlit-vs:vert|unlit-fs:frag|CC_USE_DEBUG_VIEW0|CC_USE_HDR1 compile succeed.

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-base/SPIRVUtils.cpp: line 141

10:59:54 [ERROR]: GLSL Linking Failed:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point

10:59:54 [INFO]: builtin-spine|sprite-vs:vert|sprite-fs:frag compile succeed.

2023-01-01 10:59:54.603032+0800 GuitarAndroidApp-mobile[2104:110743] Compiler failed to build request

2023-01-01 10:59:54.604384+0800 GuitarAndroidApp-mobile[2104:110743] Compiler failed to build request

10:59:54 [ERROR]: [ERROR] file /Applications/CocosCreator/Creator/3.6.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLPipelineState.mm: line 382

10:59:54 [ERROR]: Failed to create MTLRenderPipelineState: RasterizationEnabled is true but the vertex shader’s return type is void

Program ended with exit code: 9

1赞

我也遇到这个问题

最后解决了吗

最后解决了吗,有解决问题了吗

根据报错信息显示,GLSL链接失败,缺少入口点。每个阶段都需要一个入口点。该问题可能是由于一些着色器代码中缺少入口点引起的。

你可以尝试检查一下你的着色器代码,确保每个着色器阶段都有正确的入口点。如果你不确定入口点的名称是否正确,可以查看引擎中内置着色器的代码,以了解正确的入口点名称。

另外,你也可以尝试升级Cocos Creator版本,看看是否可以解决该问题。

就不是这个问题,是因为IOS 发布出来的脚本 与安卓发布出来的略语不同,不能作为包体脚本,我使用了安卓发布出来的脚本 放入了IOS 工程

我最后用IOS 发布了脚本就行了