Cannot read properties of undefined (reading "children")
keenoptical opened this issue · 0 comments
keenoptical commented
Hi all. I am using pixi.js version 6.5.10 and pixi-spine for Spine version 3.8+.
I've got ann error loading example the Spine Boy sample project.
Here is fragment of my simple React app where i am trying to load this project and my code structure:
Imho, maybe there is a good way to add a check if the parent of the spine data is not defined then don't try to load its children? Or maybe there is something wrong in my code?