-
Notifications
You must be signed in to change notification settings - Fork 900
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
Editor crash - Manipulating a Pixi object after it being destroyed (reading 'valid') #5896
Comments
Tracking this issue, it looks like it is coming from this line of PixiJS library (on the commit of 7.3.0, the version we're using) A Texture is being created, but the baseTexture is null. The trace says this is coming from a PanelSprite: https://github.com/4ian/GDevelop/blob/master/newIDE/app/src/ObjectsRendering/Renderers/RenderedPanelSpriteInstance.js#L101 So it means that the PixiResourcesLoader is not able to load the Texture right away https://github.com/4ian/GDevelop/blob/master/newIDE/app/src/ObjectsRendering/Renderers/RenderedPanelSpriteInstance.js#L89-L91 Not sure how this can happen, a texture is properly created by without a baseTexture? |
I'm wondering if those changes to the |
Possible related issue => pixijs/pixijs#9481 We may be manipulating a texture that's been destroyed, but cannot find how this is happening. |
Describe what you were doing when the crash happened
i clicked in one of the button of my game and the screen popped up
GDevelop version
5.3.180-4f98ffa9ab98b751f6526f4d8ac28cef0c16ed1e
Platform info
System Version: Unknown system version (web-app), Arch: Unknown architecture (web-app), User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, Platform: Win32
Additional error context
TypeError: Cannot read properties of null (reading 'valid')
at new n (https://editor.gdevelop.io/static/js/8765.a0edf63a.chunk.js:2:1946700)
at n.value (https://editor.gdevelop.io/static/js/5496.45f6639a.chunk.js:1:1963341)
at new n (https://editor.gdevelop.io/static/js/5496.45f6639a.chunk.js:1:1962325)
at Object.createNewInstanceRenderer (https://editor.gdevelop.io/static/js/5496.45f6639a.chunk.js:1:1985233)
at https://editor.gdevelop.io/static/js/5496.45f6639a.chunk.js:1:1980574
at mapReverseFor (https://editor.gdevelop.io/static/js/5496.45f6639a.chunk.js:1:2350186)
...
Additional component context
The text was updated successfully, but these errors were encountered: