Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lottie加载报错 #2445

Closed
pallyoung opened this issue Nov 22, 2024 · 2 comments
Closed

lottie加载报错 #2445

pallyoung opened this issue Nov 22, 2024 · 2 comments

Comments

@pallyoung
Copy link

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

@cptbtptpbcptdtptp
Copy link
Collaborator

你好,可以检查一下您的项目有没有引用 @galacean/engine-lottie 依赖
如果还是有问题,可以提供一个最小可现的 demo ,我们检查一下。

@GuoLei1990
Copy link
Member

需要进一步信息,暂时关闭!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants