SceneKit: Crash when loading bones animation

Originator:doriantest0
Number:rdar://28364236 Date Originated:9/19/2016
Status:Duplicate of 27822700 (Open) Resolved:
Product:Developer Tools Product Version:Xcode 8.0 (8A218a)
Classification: Reproducible:Always
 
Summary:
Building with Xcode 8.0, an app loading a Collada file with bones animation will crash on iOS 9. The same app runs fine when built with Xcode 7.

Steps to Reproduce:
1. Open the attached sample project with Xcode 8.0
2. Run it on a device with iOS 9

Expected Results:
See a 3D scene of a worm with a crawling animation.

Actual Results:
The app crashes with error message: 
"SceneKit: error, Library Deserialization: cannot finalize the deserialization of <C3DSkin 0x14edcc160 joint:3 weight:0 baseGeom:0x0>"

Version:
Xcode 8.0 (8A218a)

Notes:
This crash does not occur on devices running iOS 10.0. It also does not occur with iOS 9.3 when built using Xcode 7.3.1 with the same Collada file.

Also, when converting the .dae to a .scn file, the app runs without crashing, but presents the console message "SceneKit: error, Cannot update the joints using node names: can't find node" and the bones animation doesn't show either.

Configuration:
Build machine: MacBook Air running OS X 10.11.6, tested on iPhone 4s running iOS 9.3 and iPhone 6s running iOS 9.3

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!