Detailed error information from SceneKit’s scene file loading process.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
If SceneKit reports an error when creating or loading from a scene source, the
user dictionary of the returned
NSError object may contain this key, whose value is an array of dictionaries (each containing one or more of the keys listed in Scene File Consistency Error Keys) providing details about the location of the error in the scene file.
If you specify
YES for the
SCNScene option when creating or loading from a scene source, SceneKit verifies the scene file against the specification for its file format. Verifying a scene file can result in additional error reports for violations of the file format specification that do not prevent SceneKit from loading the file.