web-ifc-three
web-ifc-three copied to clipboard
crash loading model
I use threejs 143 and the latest web-ifc-three and am trying to load a simple ifc model. The console from the browser shows
web-ifc-api.js:6592
Uncaught (in promise) RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
at abort (web-ifc-api.js:6592:19)
at _abort (web-ifc-api.js:10470:11)
at web-ifc.wasm:0x113c
at web-ifc.wasm:0x63127
at web-ifc.wasm:0x67b05
at Object.OpenModel (eval at new_ (web-ifc-api.js:9885:31), <anonymous>:9:10)
at IfcAPI2.OpenModel (web-ifc-api.js:52769:34)
at IFCParser.newIfcModel (IFCLoader.js:101:41)
at IFCParser.parse (IFCLoader.js:92:8)
at async IFCManager.parse (IFCLoader.js:2215:16)
abort @ web-ifc-api.js:6592 _abort @ web-ifc-api.js:10470 $func54 @ web-ifc.wasm:0x113c $func830 @ web-ifc.wasm:0x63127 $func831 @ web-ifc.wasm:0x67b05 OpenModel @ VM164:9 OpenModel @ web-ifc-api.js:52769 newIfcModel @ IFCLoader.js:101
i use the await for waiting until the model is loaded
let object = await ifcLoader.loadAsync(this.element.ContentPath);
any idea?
just tried not using await and also a error in the console
IFCLoader.js:2410
RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
at abort (web-ifc-api.js:6592:19)
at _abort (web-ifc-api.js:10470:11)
at web-ifc.wasm:0x113c
at web-ifc.wasm:0x63127
at web-ifc.wasm:0x67b05
at Object.OpenModel (eval at new_ (web-ifc-api.js:9885:31), <anonymous>:9:10)
at IfcAPI2.OpenModel (web-ifc-api.js:52769:34)
at IFCParser.newIfcModel (IFCLoader.js:101:41)
at IFCParser.parse (IFCLoader.js:92:8)
at async IFCManager.parse (IFCLoader.js:2215:16)
Similar issue here. There is no response for a while, and an error log is recorded in the console.
- web-ifc-three 0.0.118
- three 0.143.0
- react-three/fiber 8.2.1
- chrome/safari/firefox
RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
at abort (web-ifc-api.js?b70a:6592:1)
at _abort (web-ifc-api.js?b70a:10470:1)
at web-ifc.wasm:0x113c
at web-ifc.wasm:0xf3cb
at web-ifc.wasm:0xf6c2
at web-ifc.wasm:0x39411
at web-ifc.wasm:0x21857
at web-ifc.wasm:0x41dc4
at web-ifc.wasm:0x823f
at web-ifc.wasm:0x493d2
at web-ifc.wasm:0x49d7a
at web-ifc.wasm:0x4935d
at web-ifc.wasm:0x60aee
at web-ifc.wasm:0x60b24
at Object.StreamAllMeshes (eval at new_ (web-ifc-api.js:1:1), <anonymous>:9:1)
at IfcAPI2.StreamAllMeshes (web-ifc-api.js?b70a:52887:1)
at _callee$ (IFCLoader.js?d58c:165:20)
at tryCatch (runtime.js?ecd4:45:16)
at Generator.invoke [as _invoke] (runtime.js?ecd4:274:1)
at prototype.<computed> [as next] (runtime.js?ecd4:97:1)
at asyncGeneratorStep (_async_to_generator.mjs?a0de:3:1)
at _next (_async_to_generator.mjs?a0de:25:1)