3.6 new sp.spine.Skin 原生无法运行

请问有啥替代方案吗?报错如下:

2022-08-31 10:59:33.269 15888-15914/com.test.spine E/Cocos: 10:59:33 [ERROR]: [SE_ASSERT]  (D:/Software/Cocos Creator/CocosDashboard/resources/.editors/Creator/3.6.0/resources/resources/3d/engine/native/cocos/bindings/jswrapper/v8/Class.cpp, 60): Skin 's constructor is not public!

skin.getAttachments() 也无法在原生使用了

换了种方式获取skin对象,skeletonData.findSkin(“name”)