Unity Oculus webGL 未运行

问题描述

我正在尝试使用以下方法运行 webGL 构建:

  • Unity 2018.3.4f1
  • Oculus 集成包
  • webGL 2.0 目前,它可以构建,但是当我在服务器上运行它并启动我的浏览器时,它给了我这些异常

在此页面上运行 Unity 内容时发生错误。看你的 浏览器 JavaScript 控制台了解更多信息。错误是:

未捕获的异常:abort("要使用dlopen,你需要使用Emscripten的 链接支持,见 https://github.com/kripken/emscripten/wiki/Linking") 在 jsstackTrace (Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:15158)

stackTrace(Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:15329)

onAbort@http://localhost:8080/Build/UnityLoader.js:4:9327

中止(Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:536000)

_dlopen(Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:222440)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[51914]:0x1061a43 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[51529]:0x10521f5)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[45640]:0xf5d502 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[45639]:0xf5d46c)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[25703]:0xb4a889 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[25701]:0xb4a78c)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[25751]:0xb4fbc3 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[23570]:0xb06a67)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[52769]:0x108a68e

UnityLoader["9b4b3d26ba96eea6df25e363f8d5d7ca"]/dynCall_iiiiii [Module.dynCall_iiiiii](Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:500823)

invoke_iiiiii(Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:361524)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[50883]:0x1036e86 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[51221]:0x1043af2)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[3173]:0x19ff2b (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[3172]:0x19fe97)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[5706]:0x25a00a (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[5701]:0x259343)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[8308]:0x37fef8 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[6183]:0x292ad5)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[9088]:0x3d2566 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[8403]:0x3894db)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[8403]:0x3894f0 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[8397]:0x3888a0)

@blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[8392]:0x386fe0 (blob:http://localhost:8080/7142109b-ffc7-4e5b-ad73-ffdd28eee0bc 行 2 > WebAssembly.instantiate:wasm-function[52785]:0x108a920)

UnityLoader["9b4b3d26ba96eea6df25e363f8d5d7ca"]/dynCall_v [Module.dynCall_v](Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:519744)

browserIterationFunc (Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:125659)

runIter (Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:128744)

browser_mainLoop_runner (Oculus Rift Version_Final_webGL.wasm.framework.unityweb:2:127206)

任何帮助将不胜感激。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)