galacean / engine

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.
https://galacean.antgroup.com/
MIT License
4.04k stars 289 forks source link

SubPromise will be blocked by GLTFLoader If the assetURL is error #2101

Open gz65555 opened 1 month ago

gz65555 commented 1 month ago
engine.resourceManager
  .load({
    url: "https://mdn.alipayobjects.com/rms/afts/file/A*9uDmQKoBs6IAAAAAAAAAAAAAARQnAQ/bed.glb?q=textures[5]",
    type: AssetType.GLTF,
  })
  .then(() => {
    engine.run();
  });

The engine will never run.