<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNSceneSourceStatus/error",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@E@SCNSceneSourceStatus@SCNSceneSourceStatusError"
  },
  "title" : "SCNSceneSourceStatus.error"
}
-->

# SCNSceneSourceStatus.error

An error occurred when SceneKit attempted to load the scene.

```
case error
```

## Discussion

If the `status` parameter of a [`SCNSceneSourceStatusHandler`](/documentation/SceneKit/SCNSceneSourceStatusHandler) block has this value, see the block’s `error` parameter for information about the nature and location of the error. When SceneKit encounters an error during scene loading, it calls the handler block with this status, then after the block completes, the [`scene(options:statusHandler:)`](/documentation/SceneKit/SCNSceneSource/scene(options:statusHandler:)) method returns `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)