You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an error on removing the component when the scene document is destroyed.
It seems that the geometry in the Component is null so when calling this.geometry.dispose() in the Component remove function it fails :
aframe-master.js:21557 Uncaught TypeError: Cannot read properties of null (reading 'dispose')
at NewComponent.remove (aframe-master.js:21558:19)
at AEntity.removeComponent (aframe-master.js:24891:15)
at AEntity.disconnectedCallback (aframe-master.js:24617:12)
I printed the component before dispose and i do have a null geometry :
What do you mean by "I have an error on removing the component when the scene document is destroyed" Can you share full runnable code with https://glitch.com/~aframe?
Description:
When adding entity text in scene
I have an error on removing the component when the scene document is destroyed.
It seems that the geometry in the Component is null so when calling
this.geometry.dispose()
in the Component remove function it fails :I printed the component before dispose and i do have a null geometry :
I tried to manually add a geometry in the a-entity but with no luck.
The text was updated successfully, but these errors were encountered: