SkeletonViewer doesn’t work well in the latest version (^5.0.0-beta.11).
I used the same codes that I used before(^5.0.0-alpha.61), and it worked well.
Is it a bug or are there any changes to handle between two versions?
You’re passing meshes[0], the root, but it’s meshes[1] that has the skeleton applied to it. I just made that change to use meshes[1] below and it’s working now. IDK if it’s still supposed to work passing the root mesh thou, like it used too…
Yes, passing in the root mesh is technically incorrect usage. The mesh you are supposed to pass in is the mesh associated with the skeleton. It happens to look right because the skeleton included the root mesh transform in the old way. Maybe we should add a check or a warning for this.