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
[v8] Cannot read property 'addRenderable' of undefined #10366
Comments
Try including |
@bigtimebuddy Thank you, it's resolved. When I run the following code in WeChat, I encounter an error. const renderer = new PIXI.WebGLRenderer()
renderer.init({
canvas,
antialias: true,
preferWebGLVersion: 1,
backgroundColor: 0x171a24,
}).then(() => {
const g = new PIXI.Graphics()
g.fill(0xffc333)
g.rect(0, 0, 100, 100)
stage.addChild(g)
renderer.render({container: stage})
})
I did some basic research and found that the error stems from the following code snippet. Additionally, I added code locally to print variable information. pixijs/src/scene/container/utils/buildInstructions.ts Lines 73 to 75 in d4cb3d1
console.log(rp)
console.log(container.renderPipeId) output: I found that there is no I'm not entirely sure if this is a situation unique to WeChat. |
thanks for sharing! il take a look |
@pixi/unsafe-eval@8
?
Hey there! The issue is that the extensions are dynamically loaded when via the quick fix for now would be to do the following:
we will look into adding a |
Description
I tried using
@pixi/unsafe-eval@7
andpixi.js@8
, but I found it doesn't work.The text was updated successfully, but these errors were encountered: