Animation not working
Spider_3_scaled.glb.zip gltf with animation not loading , failing with error : Error Domain=AGXMetalA9 Code=3 "Cannot convert attribute from MTLAttributeFormatShort4 to an unsigned integer type" UserInfo={NSLocalizedDescription=Cannot convert attribute from MTLAttributeFormatShort4 to an unsigned integer type}
attached the glb I am trying to load
Thank you for reporting! Are you using iPhone? If so, could you tell me the iOS version and which model you're using? I guess it's the known issue of SceneKit, and I added the workaround for some versions of iOS, but I might need to expand the target versions.
It seems working fine on my MacBook.

I tested on version 11.3 & 10.* in iphone 6s & iphone x both are crashing
dae for the same model works on both using scenekit , so I am not sure whats missing in conversion to gltf
I don't think the gltf file has a problem. SceneKit for iOS has some problems to handle data arrays. I'm going to check it with iOS 11.3 & iPhoneX.
Hi ya any update on this .. this is failing for any models with animations even on iOS 10
Any update mate ??
Also does this framework compatible with glft 2.0?
I am not getting animation clips name either from the model too
Please, could you help me on this?
On Wed, Apr 18, 2018 at 2:35 AM, magicien [email protected] wrote:
I don't think the gltf file has a problem. SceneKit for iOS has some problems to handle data arrays. I'm going to check it with iOS 11.3 & iPhoneX.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/magicien/GLTFSceneKit/issues/17#issuecomment-382215743, or mute the thread https://github.com/notifications/unsubscribe-auth/ACASw0--UMghQtZjm0YS25XZe4O_rhvwks5tpphtgaJpZM4TYGEe .
You can specify rendering api to solve this issue. like:
SCNView.init(frame: CGRect.zero, options: [SCNView.Option.preferredRenderingAPI.rawValue : SCNRenderingAPI.openGLES2])
Unfortunately, it does not work for ARKit. ARKit forces use Metal instead