<!--
{
  "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/loadModelAsync(named:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ"
  },
  "title" : "loadModelAsync(named:in:)"
}
-->

# loadModelAsync(named:in:)

Asynchronously loads a model entity from a bundle.

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

## 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 as a [`ModelEntity`](/documentation/RealityKit/ModelEntity).

---

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)