<!--
{
  "availability" : [
    "iOS: 13.0.0 - 18.0.0",
    "iPadOS: 13.0.0 - 18.0.0",
    "macCatalyst: 13.0.0 - 18.0.0",
    "macOS: 10.15.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Entity/loadAsync(named:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ"
  },
  "title" : "loadAsync(named:in:)"
}
-->

# loadAsync(named:in:)

Returns a load request that creates an entity by asynchronously loading it from a bundle.

```
@MainActor @preconcurrency static func loadAsync(named name: String, in bundle: Bundle? = nil) -> LoadRequest<Entity>
```

## Parameters

`name`

The base name of the file to load, omitting the filename extension.

`bundle`

The bundle containing the file. Use `nil` to search the app’s
main bundle.

## Return Value

A resource loader that publishes the root entity in the
loaded file.

## Discussion

RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,
`.usdz`) and Reality (`.reality`) files.

When building your app, Xcode automatically converts any Reality
Composer projects (`.rcproject`) in the selected target into Reality
files, which it then copies into your app’s bundle.

For more information on loading entities, see
[Loading entities from a file](/documentation/RealityKit/loading-entities-from-a-file).

---

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)