Bug 20947 - Need another Xamarin Studio step: Cannot load Scene Kit scene from collada file in iOS 8
Summary: Need another Xamarin Studio step: Cannot load Scene Kit scene from collada fi...
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 7.9.0.x
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: Untriaged
Assignee: Jeffrey Stedfast
URL:
: 21993 ()
Depends on:
Blocks:
 
Reported: 2014-06-27 10:57 UTC by Mike Bluestein
Modified: 2014-08-12 13:28 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
test case (93.06 KB, application/zip)
2014-06-27 10:57 UTC, Mike Bluestein
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mike Bluestein 2014-06-27 10:57:07 UTC
Created attachment 7221 [details]
test case

I tried a variety of different combinations of SCNSceneLoadingOptions, but nothing has any effect. The scene always comes back as null. Xcode apparently uses a utility named scntool to process collada files in iOS. scntool is available at:

Xcode6-Beta2.app/Contents/Developer/usr/bin/scntool

However attempting to run this from directly results in an error "scntool: warning: Could not load SceneKit.framework ((null))"
Comment 1 Larry O'Brien 2014-06-27 14:46:33 UTC
scntool converts the XML Collada file into a binary plist file whose contents are an internal format (not XML). This file will have the same name as the input Collada file (IOW, "Monkey.dae" XML Collada -> "Monkey.dae" proprietary bin plist). Attempts to load Collada XML result in the confusing iOS runtime message "Colllada files are not supported." (even though Collada files that have been processed by scntool *are* supported). 

I've attempted to take a scntool-transformed file from an XCode build and use it and still have not been able to get the SCNScene to load. 

IOW, the issue seems to involve both tooling and the APIs.
Comment 2 Jeffrey Stedfast 2014-07-22 11:01:25 UTC
This is implemented in XS now (for iOS)
Comment 3 Sebastien Pouliot 2014-08-12 13:28:40 UTC
*** Bug 21993 has been marked as a duplicate of this bug. ***