Playcanvas correct bone structure

I was wondering if some one knows whats the correct bone distribution in playcanvas since iam having issues with weird twists of my meshes i use normally fbx

You can see it on the legs of my character

One thing to check for is duplicate bone names in your hierarchy. The importer doesn’t warn if this happens but it can produce these kinds of side effects.