老实说怕了你们了
3.8.0中每个类创建之前都有的。
_cclegacy._RF.push({}, “16ee6TlVwJLoJXfHq4Lvhla”, “xxxx”, undefined);
怎么在3.8.1中就移除了呢.
目前只有游戏项目目录下面的文件有,通过扩展bundle没有。
老实说怕了你们了
3.8.0中每个类创建之前都有的。
_cclegacy._RF.push({}, “16ee6TlVwJLoJXfHq4Lvhla”, “xxxx”, undefined);
怎么在3.8.1中就移除了呢.
目前只有游戏项目目录下面的文件有,通过扩展bundle没有。
“contributions”: {
"asset-db": {
"mount": {
"path": "./assets",
"readonly": false
}
}
}
通过contributions加载的失效了。
这个包根本没办法用。通过扩展加入的bundle无法加载自定义的脚本,脚本组件写在cocos内。
请问这个问题大概是什么原因,不接3.8.0是因为3.8.1貌似使用了自动代码生成工具,导致和3.8.0代码出入过大。
3.8使用swig绑定原生代码的文档更新一下吧
都看懵逼了
文档里说:在 3.8 及以上的版本中,开发者不再需要手动触发绑定代码的生成,因为 CMake 会自动在编译过程中调用 SWIG 命令来生成绑定代码。如果生成失败, 请注意终端的输出日志。
但是又让去运行 genbindings.js
运行这个脚本
又出现这个提示
The engine’s binding code is now automatically generated by CMake, eliminating the need to run the script manually.
Notice: if any “.i” configuration files are added or removed, please re-generate the project to ensure the changes are applied.
import 加上Node
谢啦谢啦,删除帖子了
3.8.1(0829)打包后在夜深模拟器上没法运行
通过contributions挂载的资源目录下面。脚本挂载都没办法使用,这个问题能不能修复1下啊,没办法正常使用了。!!!!
试试等到早上看看能不能在模拟器运行
3.8.1版本的引擎。
环境:mac 上 safari 浏览器上,场景上只有一盏平行光。FPS只有10,mac上chrome浏览器是可以满帧。3.7同样的场景在safari上是满帧。3.8引擎上也有这个问题。
引擎同学帮忙看看。感谢。
打包勾选 x86 了吗
as上的模拟器运行后报错
---------------------------- PROCESS STARTED (7346) for package com.os.yeluo ----------------------------
2023-09-05 15:58:10.167 7346-7346 GraphicsEnvironment com.os.yeluo V ANGLE Developer option for 'com.os.yeluo' set to: 'default'
2023-09-05 15:58:10.167 7346-7346 GraphicsEnvironment com.os.yeluo V Neither updatable production driver nor prerelease driver is supported.
2023-09-05 15:58:10.173 7346-7346 NetworkSecurityConfig com.os.yeluo D No Network Security Config specified, using platform default
2023-09-05 15:58:10.174 7346-7346 NetworkSecurityConfig com.os.yeluo D No Network Security Config specified, using platform default
2023-09-05 15:58:10.225 7346-7368 libEGL com.os.yeluo D loaded /vendor/lib64/egl/libEGL_emulation.so
2023-09-05 15:58:10.226 7346-7368 libEGL com.os.yeluo D loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2023-09-05 15:58:10.232 7346-7368 libEGL com.os.yeluo D loaded /vendor/lib64/egl/libGLESv2_emulation.so
2023-09-05 15:58:10.330 7346-7346 GameActivity com.os.yeluo D GameActivity_register
2023-09-05 15:58:10.330 7346-7346 GameActivity com.os.yeluo V Registering com/google/androidgamesdk/GameActivity's 18 native methods...
2023-09-05 15:58:10.330 7346-7346 threaded_app com.os.yeluo V Creating: 0x72aa5df46750
2023-09-05 15:58:10.330 7346-7346 threaded_app com.os.yeluo V Callbacks set: 0x72aa5df467a0
2023-09-05 15:58:10.330 7346-7346 threaded_app com.os.yeluo V Launching android_app_entry in a thread
2023-09-05 15:58:10.331 7346-7369 threaded_app com.os.yeluo V android_app_entry called
2023-09-05 15:58:10.331 7346-7369 threaded_app com.os.yeluo V android_app = 0x72ab6df3d020
2023-09-05 15:58:10.332 7346-7369 threaded_app com.os.yeluo V config = 0x72a9adf5a190
2023-09-05 15:58:10.332 7346-7369 threaded_app com.os.yeluo V activity = 0x72aa5df46750
2023-09-05 15:58:10.332 7346-7369 threaded_app com.os.yeluo V assetmanager = 0x72aa5df43b90
2023-09-05 15:58:10.332 7346-7369 threaded_app com.os.yeluo V Config: mcc=310 mnc=260 lang=en cnt=US orien=2 touch=3 dens=420 keys=2 nav=2 keysHid=1 navHid=0 sdk=31 size=2 long=1 modetype=1 modenight=1
2023-09-05 15:58:10.362 7346-7346 CocosAudioFocusManager com.os.yeluo D requestAudioFocus succeed
2023-09-05 15:58:10.365 7346-7369 GameControllerManager com.os.yeluo D setNativeReady
2023-09-05 15:58:10.392 7346-7346 GameActivity com.os.yeluo V onStart_native
2023-09-05 15:58:10.393 7346-7346 threaded_app com.os.yeluo V Start: 0x72aa5df46750
2023-09-05 15:58:10.395 7346-7369 threaded_app com.os.yeluo V activityState=10
2023-09-05 15:58:10.396 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: AndroidPlatform: APP_CMD_START
2023-09-05 15:58:10.399 7346-7370 GameControllerThread com.os.yeluo D registerInputDeviceListener
2023-09-05 15:58:10.399 7346-7346 threaded_app com.os.yeluo V Resume: 0x72aa5df46750
2023-09-05 15:58:10.400 7346-7369 threaded_app com.os.yeluo V activityState=11
2023-09-05 15:58:10.401 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: AndroidPlatform: APP_CMD_RESUME
2023-09-05 15:58:10.460 7346-7366 HostConnection com.os.yeluo D createUnique: call
2023-09-05 15:58:10.466 7346-7366 HostConnection com.os.yeluo D HostConnection::get() New Host Connection established 0x72a9fdf36650, tid 7366
2023-09-05 15:58:10.475 7346-7366 HostConnection com.os.yeluo D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-09-05 15:58:10.478 7346-7346 GameActivity com.os.yeluo V onSurfaceCreated_native
2023-09-05 15:58:10.479 7346-7346 threaded_app com.os.yeluo V NativeWindowCreated: 0x72aa5df46750 -- 0x72aaedf4a4c0
2023-09-05 15:58:10.482 7346-7346 threaded_app com.os.yeluo V android_app_set_window called
2023-09-05 15:58:10.484 7346-7366 OpenGLRenderer com.os.yeluo W Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2023-09-05 15:58:10.485 7346-7366 OpenGLRenderer com.os.yeluo W Failed to initialize 101010-2 format, error = EGL_SUCCESS
2023-09-05 15:58:10.485 7346-7369 threaded_app com.os.yeluo V APP_CMD_INIT_WINDOW
2023-09-05 15:58:10.485 7346-7369 Cocos com.os.yeluo D 07:58:10 [DEBUG]: AndroidPlatform: APP_CMD_INIT_WINDOW
2023-09-05 15:58:10.485 7346-7346 threaded_app com.os.yeluo V NativeWindowRedrawNeeded: 0x72aa5df46750 -- 0x72aaedf4a4c0
2023-09-05 15:58:10.494 7346-7366 EGL_emulation com.os.yeluo D eglCreateContext: 0x72a9fdf35ed0: maj 3 min 0 rcv 3
2023-09-05 15:58:10.495 7346-7369 Cocos com.os.yeluo E 07:58:10 [ERROR]: E/ Failed to accquire interfaces, error: Permission denied
Re-select port after 37000
2023-09-05 15:58:10.491 7346-7346 Thread-2 com.os.yeluo W type=1400 audit(0.0:41): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.os.yeluo
2023-09-05 15:58:10.522 7346-7366 EGL_emulation com.os.yeluo D eglMakeCurrent: 0x72a9fdf35ed0: ver 3 0 (tinfo 0x72ac21c7f080) (first time)
2023-09-05 15:58:10.596 7346-7366 Gralloc4 com.os.yeluo I mapper 4.x is not supported
2023-09-05 15:58:10.607 7346-7366 HostConnection com.os.yeluo D createUnique: call
2023-09-05 15:58:10.607 7346-7366 HostConnection com.os.yeluo D HostConnection::get() New Host Connection established 0x72a9fdf37c10, tid 7366
2023-09-05 15:58:10.608 7346-7366 goldfish-address-space com.os.yeluo D allocate: Ask for block of size 0x100
2023-09-05 15:58:10.608 7346-7366 goldfish-address-space com.os.yeluo D allocate: ioctl allocate returned offset 0x3f3ffe000 size 0x2000
2023-09-05 15:58:10.622 7346-7366 Gralloc4 com.os.yeluo W allocator 4.x is not supported
2023-09-05 15:58:10.657 7346-7366 HostConnection com.os.yeluo D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-09-05 15:58:10.665 7346-7370 GameControllerThread com.os.yeluo D onInputDeviceChanged id: 13
2023-09-05 15:58:10.666 7346-7370 GameControllerThread com.os.yeluo D onInputDeviceChanged id: 2
2023-09-05 15:58:10.691 7346-7369 HostConnection com.os.yeluo D createUnique: call
2023-09-05 15:58:10.692 7346-7369 HostConnection com.os.yeluo D HostConnection::get() New Host Connection established 0x72a9fdf38d50, tid 7369
2023-09-05 15:58:10.707 7346-7369 HostConnection com.os.yeluo D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-09-05 15:58:10.715 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: Setup EGLConfig: depth [24] stencil [8] sampleBuffer [0] sampleCount [0]
2023-09-05 15:58:10.715 7346-7369 EGL_emulation com.os.yeluo E eglCreateContext: EGL_BAD_CONFIG: no ES 3.2 support
2023-09-05 15:58:10.715 7346-7369 EGL_emulation com.os.yeluo E tid 7369: eglCreateContext(1849): error 0x3005 (EGL_BAD_CONFIG)
2023-09-05 15:58:10.715 7346-7369 EGL_emulation com.os.yeluo E eglCreateContext: EGL_BAD_CONFIG: no ES 3.1 support
2023-09-05 15:58:10.715 7346-7369 EGL_emulation com.os.yeluo E tid 7369: eglCreateContext(1843): error 0x3005 (EGL_BAD_CONFIG)
2023-09-05 15:58:10.726 7346-7369 EGL_emulation com.os.yeluo D eglCreateContext: 0x72a9fdf394d0: maj 3 min 0 rcv 3
2023-09-05 15:58:10.753 7346-7369 EGL_emulation com.os.yeluo D eglMakeCurrent: 0x72a9fdf394d0: ver 3 0 (tinfo 0x72ac21c7f100) (first time)
2023-09-05 15:58:10.764 7346-7369 Cocos com.os.yeluo D 07:58:10 [DEBUG]: EGL context bounded to thread 72a8fca0fcf0
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: GLES3 device initialized.
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: RENDERER: Android Emulator OpenGL ES Translator (NVIDIA GeForce RTX 2060/PCIe/SSE2)
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: VENDOR: Google (NVIDIA Corporation)
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: VERSION: OpenGL ES 3.0 (4.5.0 NVIDIA 537.13)
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: COMPRESSED_FORMATS: etc1 etc2 astc
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: FRAMEBUFFER_FETCH: NONE
2023-09-05 15:58:10.783 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: MULTI_SAMPLE_RENDER_TO_TEXTURE: NONE
2023-09-05 15:58:10.784 7346-7369 Cocos com.os.yeluo I 07:58:10 [INFO]: Device validator enabled.
2023-09-05 15:58:10.784 7346-7369 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ Initializing V8, version: 9.1.269
2023-09-05 15:58:10.800 7346-7369 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ libuv version: 1.40.1-dev
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo E 07:58:10 [ERROR]: E/ failed to get addresses Permission denied
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ Number of interfaces: 0
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ Please query IP by running the following command in terminal: adb shell ip -4 -br addr
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ Debugger listening..., visit [
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=IP_ADDR_OF_THIS_DEVICE:43086/00010002-0003-4004-8005-000600070008
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ ] in chrome browser to debug!
2023-09-05 15:58:10.817 7346-7379 Cocos com.os.yeluo D 07:58:10 [DEBUG]: D/ For help see https://nodejs.org/en/docs/inspector
2023-09-05 15:58:10.824 7346-7346 threaded_app com.os.yeluo V WindowFocusChanged: 0x72aa5df46750 -- 1
2023-09-05 15:58:10.799 7346-7346 Thread-2 com.os.yeluo W type=1400 audit(0.0:42): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.os.yeluo
2023-09-05 15:58:11.125 7346-7369 Cocos com.os.yeluo I 07:58:11 [INFO]: JS: injectWebAssembly ...
2023-09-05 15:58:14.098 7346-7369 com.os.yeluo com.os.yeluo W Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (unsupported,core-platform-api, reflection, allowed)
2023-09-05 15:58:14.098 7346-7369 com.os.yeluo com.os.yeluo W Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (unsupported,core-platform-api, reflection, allowed)
2023-09-05 15:58:14.098 7346-7369 com.os.yeluo com.os.yeluo W Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (unsupported,core-platform-api, reflection, allowed)
2023-09-05 15:58:14.100 7346-7369 Cocos com.os.yeluo D 07:58:14 [DEBUG]: find in flash memory dirPath(/data/user/0/com.os.yeluo/files/temp)
2023-09-05 15:58:14.103 7346-7377 HostConnection com.os.yeluo D createUnique: call
2023-09-05 15:58:14.104 7346-7377 HostConnection com.os.yeluo D HostConnection::get() New Host Connection established 0x72a9fdf35810, tid 7377
2023-09-05 15:58:14.108 7346-7377 HostConnection com.os.yeluo D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2023-09-05 15:58:14.135 7346-7377 EGL_emulation com.os.yeluo D eglMakeCurrent: 0x72a9fdf394d0: ver 3 0 (tinfo 0x72ac21c7f180) (first time)
2023-09-05 15:58:14.137 7346-7377 Cocos com.os.yeluo D 07:58:14 [DEBUG]: EGL context bounded to thread 72a8f32d3cf0
2023-09-05 15:58:14.138 7346-7377 Cocos com.os.yeluo I 07:58:14 [INFO]: Device thread detached.
2023-09-05 15:58:14.166 7346-7369 Cocos com.os.yeluo I 07:58:14 [INFO]: AndroidPlatform: APP_CMD_WINDOW_REDRAW_NEEDED
2023-09-05 15:58:14.167 7346-7369 Cocos com.os.yeluo I 07:58:14 [INFO]: AndroidPlatform: APP_CMD_GAINED_FOCUS
2023-09-05 15:58:14.196 7346-7369 Cocos com.os.yeluo D 07:58:14 [DEBUG]: JS: Cocos Creator v3.8.1
2023-09-05 15:58:14.253 7346-7377 Cocos com.os.yeluo I 07:58:14 [INFO]: Shader 'util/splash-screen|splash-screen-vs:vert|splash-screen-fs:frag' compilation succeeded.
2023-09-05 15:58:15.296 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=4.13ms min=2.04ms max=18.75ms count=61
2023-09-05 15:58:16.272 7346-7369 Cocos com.os.yeluo D 07:58:16 [DEBUG]: JS: Success to load scene: db://assets/game.scene
2023-09-05 15:58:16.304 7346-7377 Cocos com.os.yeluo I 07:58:16 [INFO]: Shader 'for2d/builtin-sprite|sprite-vs:vert|sprite-fs:frag|CC_USE_EMBEDDED_ALPHA0|USE_TEXTURE1|IS_GRAY0' compilation succeeded.
2023-09-05 15:58:16.309 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=4.89ms min=2.31ms max=66.00ms count=57
2023-09-05 15:58:17.322 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=8.06ms min=3.67ms max=18.10ms count=61
2023-09-05 15:58:18.332 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=14.52ms min=3.67ms max=26.44ms count=60
2023-09-05 15:58:19.345 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=12.84ms min=6.71ms max=18.75ms count=60
2023-09-05 15:58:20.348 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=16.25ms min=7.97ms max=22.15ms count=60
2023-09-05 15:58:21.363 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=14.44ms min=3.50ms max=30.38ms count=60
2023-09-05 15:58:22.375 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=15.80ms min=11.56ms max=19.11ms count=61
2023-09-05 15:58:23.385 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=15.52ms min=6.00ms max=27.28ms count=60
2023-09-05 15:58:24.386 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=10.03ms min=4.64ms max=31.85ms count=59
2023-09-05 15:58:24.869 7346-7346 threaded_app com.os.yeluo V Pause: 0x72aa5df46750
2023-09-05 15:58:24.871 7346-7369 threaded_app com.os.yeluo V activityState=13
2023-09-05 15:58:24.873 7346-7369 Cocos com.os.yeluo I 07:58:24 [INFO]: AndroidPlatform: APP_CMD_PAUSE
2023-09-05 15:58:24.909 7346-7346 threaded_app com.os.yeluo V WindowFocusChanged: 0x72aa5df46750 -- 0
2023-09-05 15:58:24.926 7346-7369 Cocos com.os.yeluo I 07:58:24 [INFO]: AndroidPlatform: APP_CMD_LOST_FOCUS
2023-09-05 15:58:25.401 7346-7377 EGL_emulation com.os.yeluo D app_time_stats: avg=11.87ms min=5.12ms max=54.37ms count=59
2023-09-05 15:58:25.509 7346-7346 threaded_app com.os.yeluo V NativeWindowDestroyed: 0x72aa5df46750 -- 0x72aaedf4a4c0
2023-09-05 15:58:25.509 7346-7346 threaded_app com.os.yeluo V android_app_set_window called
2023-09-05 15:58:25.529 7346-7369 threaded_app com.os.yeluo V APP_CMD_TERM_WINDOW
2023-09-05 15:58:25.531 7346-7369 Cocos com.os.yeluo D 07:58:25 [DEBUG]: AndroidPlatform: APP_CMD_TERM_WINDOW
2023-09-05 15:58:25.549 7346-7377 Surface com.os.yeluo E freeAllBuffers: 1 buffers were freed while being dequeued!
2023-09-05 15:58:25.550 7346-7377 Surface com.os.yeluo E getSlotFromBufferLocked: unknown buffer: 0x0
2023-09-05 15:58:25.551 7346-7377 Cocos com.os.yeluo D 07:58:25 [DEBUG]: EGL context bounded to thread 72a8f32d3cf0
2023-09-05 15:58:25.555 7346-7369 threaded_app com.os.yeluo V APP_CMD_TERM_WINDOW
2023-09-05 15:58:25.583 7346-7370 GameControllerThread com.os.yeluo D onInputDeviceChanged id: 13
2023-09-05 15:58:25.585 7346-7370 GameControllerThread com.os.yeluo D onInputDeviceChanged id: 2
2023-09-05 15:58:25.590 7346-7346 Surface com.os.yeluo E freeAllBuffers: 1 buffers were freed while being dequeued!
2023-09-05 15:58:25.658 7346-7346 threaded_app com.os.yeluo V TrimMemory: 0x72aa5df46750 20
2023-09-05 15:58:25.658 7346-7369 Cocos com.os.yeluo I 07:58:25 [INFO]: AndroidPlatform: APP_CMD_LOW_MEMORY
2023-09-05 15:58:25.662 7346-7346 threaded_app com.os.yeluo V Stop: 0x72aa5df46750
2023-09-05 15:58:25.662 7346-7369 threaded_app com.os.yeluo V activityState=14
2023-09-05 15:58:25.662 7346-7369 Cocos com.os.yeluo I 07:58:25 [INFO]: AndroidPlatform: APP_CMD_STOP
2023-09-05 15:58:25.662 7346-7369 GameControllerThread com.os.yeluo D unregisterInputDeviceListener
2023-09-05 15:58:25.662 7346-7369 Cocos com.os.yeluo D 07:58:25 [DEBUG]: EventBus[Engine] has no listener found!
2023-09-05 15:58:25.665 7346-7346 threaded_app com.os.yeluo V SaveInstanceState: 0x72aa5df46750
2023-09-05 15:58:25.665 7346-7369 Cocos com.os.yeluo D 07:58:25 [DEBUG]: AndroidPlatform: APP_CMD_SAVE_STATE
2023-09-05 15:58:25.665 7346-7369 threaded_app com.os.yeluo V APP_CMD_SAVE_STATE
2023-09-05 15:58:27.926 7346-7346 threaded_app com.os.yeluo V Destroy: 0x72aa5df46750
2023-09-05 15:58:27.927 7346-7369 Cocos com.os.yeluo I 07:58:27 [INFO]: AndroidPlatform: APP_CMD_DESTROY
2023-09-05 15:58:27.927 7346-7369 Cocos com.os.yeluo D 07:58:27 [DEBUG]: HttpClient singleton is nullptr
2023-09-05 15:58:27.927 7346-7369 Cocos com.os.yeluo D 07:58:27 [DEBUG]: D/ ScriptEngine::cleanup begin ...
2023-09-05 15:58:27.927 7346-7369 Cocos com.os.yeluo D 07:58:27 [DEBUG]: D/ GC begin ..., (js->native map) size: 158
---------------------------- PROCESS ENDED (7346) for package com.os.yeluo ----------------------------
请问方便提供一个测试 demo 吗,
我在测试工程里加了一个测试例,不过没有复现你反馈的问题,
在这个测试例里,编辑器扩展插件里的自定义组件,是可以正常使用的
完整的测试工程
https://github.com/PPpro/cocos-script-test
不知道测试的方式对不对,可以帮忙补充一下