Open windyslove opened 2 months ago
用2.2.1版本试一下
用2.2.1版本试一下
也是报的 Failed to load web catalog file : yoo/DefaultPackage/BuildinCatalog 早上更新的,打的微信小游戏的包
找着原因了,打bundle的时候没copy builtin file option 选的是none 选‘clear and copy all ’就可以了
如何在不复制资源到steamingAsset的情况下载在抖音或者微信上正常运行呢?使用远程CDN加载的方式加载
如何在不复制资源到steamingAsset的情况下载在抖音或者微信上正常运行呢?使用远程CDN加载的方式加载
Host Play Mode 在2.2.4版本里可以设置buildin file system为空。这样只会走CDN加载。
但是我在实际微信和抖音测试中. 使用了demo 中的扩展文件库.如果我将remoteService 设置为空的时候会默认设置为只读目录.
但是我在实际微信和抖音测试中. 使用了demo 中的扩展文件库.如果我将remoteService 设置为空的时候会默认设置为只读目录.
DefaultWebFileSystem只是给网页用的,微信小游戏 要用WecahtFileSystem. 抖音(字节)小游戏用ByteGameFileSystem
ByteGameFileSystem 在什么地方呢?我在项目里面没有找到
ByteGameFileSystem 在什么地方呢?我在项目里面没有找到
发布到GIThub了。目前还没发布版本
现在ByteGameFileSystem 已经是出于可用状态的了吗?
可用,有问题可以在QQ群里反馈给我。
我是在导出的bundle目录使用python3 -m http.server 跑的资源服务,还需要做什么吗
You can reduce startup time if you configure your web server to add "Content-Encoding: gzip" response header when serving "Build/Build.framework.js.unityweb" file. Build.loader.js:1 You can reduce startup time if you configure your web server to add "Content-Encoding: gzip" response header when serving "Build/Build.wasm.unityweb" file. Build.loader.js:1 You can reduce startup time if you configure your web server to add "Content-Encoding: gzip" response header when serving "Build/Build.data.unityweb" file. Build.loader.js:1 [UnityCache] 'http://localhost:33395/Build/Build.data.unityweb' successfully downloaded and stored in the indexedDB cache 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 navigator.mediaDevices support available 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 [UnityMemory] Configuration Parameters - Can be set up in boot.config
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-allocator-temp-initial-block-size-main=262144"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-allocator-temp-initial-block-size-worker=262144"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-temp-allocator-size-background-worker=32768"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-bucket-allocator-granularity=16"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-bucket-allocator-bucket-count=8"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-bucket-allocator-block-size=4194304"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-bucket-allocator-block-count=1"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-main-allocator-block-size=16777216"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-thread-allocator-block-size=16777216"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-gfx-main-allocator-block-size=16777216"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-gfx-thread-allocator-block-size=16777216"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-cache-allocator-block-size=4194304"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-typetree-allocator-block-size=2097152"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-profiler-bucket-allocator-granularity=16"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-profiler-bucket-allocator-bucket-count=8"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-profiler-bucket-allocator-block-size=4194304"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-profiler-bucket-allocator-block-count=1"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-profiler-allocator-block-size=16777216"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-profiler-editor-allocator-block-size=1048576"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-temp-allocator-size-main=4194304"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-job-temp-allocator-block-size=2097152"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-job-temp-allocator-block-size-background=1048576"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerOrRemoveHandler @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 registerWheelEventCallback @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 _emscripten_set_wheel_callback_on_thread @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 $func52773 @ 04bb336e:0x103e6ce $main @ 04bb336e:0x104f965 Module._main @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 callMain @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 doRun @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 run @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 runCaller @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 removeRunDependency @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 (匿名) @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 doCallback @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 done @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 reconcile @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 (匿名) @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 index.openKeyCursor.onsuccess @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerOrRemoveHandler @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 registerTouchEventCallback @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 _emscripten_set_touchstart_callback_on_thread @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 $func52773 @ 04bb336e:0x103e6e0 $main @ 04bb336e:0x104f965 Module._main @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 callMain @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 doRun @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 run @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 runCaller @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 removeRunDependency @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 (匿名) @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 doCallback @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 done @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 reconcile @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 (匿名) @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 index.openKeyCursor.onsuccess @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 registerOrRemoveHandler @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 registerTouchEventCallback @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 _emscripten_set_touchmove_callback_on_thread @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 $func52773 @ 04bb336e:0x103e704 $main @ 04bb336e:0x104f965 Module._main @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 callMain @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 doRun @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 run @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 runCaller @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 removeRunDependency @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 (匿名) @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 doCallback @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 done @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 reconcile @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 (匿名) @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 index.openKeyCursor.onsuccess @ 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Loading player data from data.unity3d
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Initialize engine version: 2022.3.34f1c1 (1e17368ca73f)
Build.loader.js:1 Creating WebGL 2.0 context. 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Renderer: WebKit WebGL
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Vendor: WebKit
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Version: OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium))
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 GLES: 3
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 EXT_color_buffer_float EXT_color_buffer_half_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_draw_buffers_indexed OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_lose_context WEBGL_multi_draw OVR_multiview2 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_float_blend GL_EXT_texture_compression_bptc GL_EXT_texture_compression_rgtc GL_EXT_texture_filter_anisotropic GL_OES_draw_buffers_indexed GL_OES_texture_float_linear GL_WEBGL_compressed_texture_astc GL_WEBGL_compressed_texture_etc GL_WEBGL_compressed_texture_etc1 GL_WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc_srgb GL_WEBGL_debug_renderer_info GL_WEBGL_lose_context GL_WEBGL_multi_draw GL_OVR_multiview2
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 OPENGL LOG: Creating OpenGL ES 3.0 graphics device ; Context level <OpenGL ES 3.0> ; Context handle 1
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Input Manager initialize...
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 UnloadTime: 0.310001 ms
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 [Violation] 'success' handler took 212ms 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 资源系统运行模式:WebPlayMode
4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 [Violation] 'requestAnimationFrame' handler took 79ms 4098ca1b-bc93-40af-9bf2-9ae9c1629ed4:10 Failed to load web catalog file : yoo/DefaultPackage/BuildinCatalog