diff --git a/editor/js/Loader.js b/editor/js/Loader.js index a85f3a355e6596..ca5ed292b6ceb0 100644 --- a/editor/js/Loader.js +++ b/editor/js/Loader.js @@ -354,7 +354,7 @@ function Loader( editor ) { var { IFCLoader } = await import( '../../examples/jsm/loaders/IFCLoader.js' ); var loader = new IFCLoader(); - loader.setWasmPath( 'examples/jsm/loaders/ifc/' ); + loader.setWasmPath( '../../examples/jsm/loaders/ifc/' ); var scene = await loader.parse( event.target.result );