galacean / engine

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

lottie加载报错 #2445

Open pallyoung opened 2 days ago

pallyoung commented 2 days ago

const lottieEntity: Entity = await engine.resourceManager.load({ urls: [ 'https://gw.alipayobjects.com/os/bmw-prod/b46be138-e48b-4957-8071-7229661aba53.json', 'https://gw.alipayobjects.com/os/bmw-prod/6447fc36-db32-4834-9579-24fe33534f55.atlas', ], type: 'lottie', })

异常:Uncaught (in promise) TypeError: this.request is not a function