新手请教个问题,web环境下测试,无法找到wasm文件,已经把wasm改后缀为.bin,放在assert下;论坛找了个帖子类似的
-
Creator 版本:
-
目标平台:
-
重现方式:
-
首个报错: <!-- Failed to load resource: the server responded with a status of 404 (Not Found)
terrain-worker.js:296WebAssembly.instantiateStreamingfailed because your server does not serve wasm withapplication/wasmMIME type. Falling back toWebAssembly.instantiatewhich is slower. Original error:
TypeError: Failed to execute ‘compile’ on ‘WebAssembly’: HTTP status code is not ok
(anonymous) @ terrain-worker.js:296
game.ts:854 Init Project: 35.635009765625 ms
:7456/terrain-worker.js:1Failed to load resource: the server responded with a status of 404 (Not Found)
index.js:1 PromiseRejectionEvent
(anonymous) @ index.js:1
4468a5ce47ca1f63b1de0ca937c63ca0e7c544f7.js:6 Uncaught (in promise) CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 34 30 34 20 @+0 -->
- 之前哪个版本是正常的:
- 手机型号:
- 手机浏览器:
- 编辑器操作系统:
- 重现概率: