ImportAsyncMesh on server side without scene

Thanks for the repo. I debugged a bit and found two issues:

  1. LoadScriptAsync is not properly capturing the error message (exception will be undefined in this case) and thus calls the reject with an undefined value. This causes the error message reported above instead of the real error since the error handler is trying to access the message property of the error argument which is undefined. I have a local fix for this.
  2. LoadScript is required by the Draco glTF extension to load the Draco WebAssembly and scripts, but the implementation of LoadScript does not handle a node.js environment. I’m not sure what the best way is to handle this one. @RaananW/@sebavan Any thoughts?