engine icon indicating copy to clipboard operation
engine copied to clipboard

SubPromise will be blocked by GLTFLoader If the assetURL is error

Open gz65555 opened this issue 9 months ago • 0 comments

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.

gz65555 avatar May 23 '24 03:05 gz65555