# Swift with Unreal Engine, using Swift programming language for UE5/Game Development

**URL:** <https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186>\
**Category:** Programming & Scripting\
**Tags:** development, cross-platform, ue, unreal-engine, UE5, CPP\
**Created:** [March 7, 2024, 2:42am UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186 "2024-03-07T02:42:54Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![furby-tm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/furby-tm/32/907211_2.png) [@furby-tm](https://forums.unrealengine.com/u/furby-tm)\
**Post date:** [March 7, 2024, 2:42am UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/1 "2024-03-07T02:42:54Z")

</div>

Hello all!

I have been focusing my efforts lately on bringing many of the widely adopted computer graphics libraries to the _Swift programming language_, all made possible with **Swift 5.9’s C/C++ Interop Feature** , which allows a great variety of **C++** APIs to be called directly from **Swift** , and select **Swift** APIs can be used from **C++** , along with the ability to remove **CMake** entirely, vastly reducing the development overhead of maintaining often hundreds of thousands of lines of **CMake** code in existing C/C++ projects by authoring a single **Swift Package Manager** ( **SPM** ) manifest file, called **`Package.swift`** , which defines the package’s name, its source code, and resource contents and is created at the root (top level directory) of the **Swift** , and/or **C/C++** project repository.

So far, by using this approach I have been able to successfully build 30 foundational **C/C++** computer graphics libraries within a single monolithic swift package which encapsulates much of the **Academy Software Foundation (ASWF) Software Landscape**, allowing the **C/C++** APIs of all these libraries to be called directly from **Swift** , in addition to also allowing this swift package to be used as a single package dependency to build other **Swift** , **C** , and **C++** projects. See [**MetaverseKit**](https://github.com/wabiverse/MetaverseKit) to learn more and use it in your existing project.

In addition to **MetaverseKit** , I have been able to bring **Pixar’s Universal Scene Description** ( **USD** ), a widely adopted ( **C++** and **Python** ) computer graphics library, to use directly in **Swift** as well, with [**SwiftUSD**](https://github.com/wabiverse/SwiftUSD).

Which leads me to the conclusionary topic of discussion:

Is there any developer interest in using the **Swift** programming language for video game development, and the potential for writing **Swift** code either as a _replacement for_ or _in addition_ to existing **Unreal Engine** games written in **C/C++**?

In addition to building games in **Swift** with **Unreal Engine** , I could additionally get the **Unreal Engine** application itself to build and run cross-platform ( **Linux** , **Microsoft Windows** , **macOS** ) through a single terminal command:

```auto
$ swift run UnrealEngine

```

I am curious to all of your thoughts in an open discussion, thanks!

---

<div class="post-metadata">

**Author:** ![batonPiotr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@batonPiotr](https://forums.unrealengine.com/u/batonPiotr)\
**Post date:** [March 11, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/2 "2024-03-11T14:08:54Z")

</div>

Hello!

Basically I am a iOS/Swift Developer with Unity/C# experience and I would love to try Unreal Engine but the thing with C++ is holding me back. I’ve worked with C++ already in the past but in comparison with any modern language, C++ is really old and unfriendly. If there would be any possibility to enable Swift in Unreal Engine, that would be a game changer for me.

---

<div class="post-metadata">

**Author:** ![ColinAtPersona](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ColinAtPersona](https://forums.unrealengine.com/u/ColinAtPersona)\
**Post date:** [April 8, 2024, 6:17pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/3 "2024-04-08T18:17:39Z")

</div>

That would be cool. Even cooler would be if Unreal Engine could integrate directly into SwiftUI, so there could be a ‘view’ that UE renders into, but interops with the rest of SwiftUI.

---

<div class="post-metadata">

**Author:** ![cannasoftware](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cannasoftware/32/552495_2.png) [@cannasoftware](https://forums.unrealengine.com/u/cannasoftware)\
**Post date:** [April 19, 2024, 8:42pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/4 "2024-04-19T20:42:14Z")

</div>

I’m very interest in this!

But looking at the GitHub site, there are not any examples on how to use this much less where this stands (alpha, beta, release?). I’m loathe to spend time on something that may end up as abandonware.

I’m also very concerned that this appears to be a one-person project and that changes in UE may require waiting for updates in the MetaverseKit. While this may be fine for one-person shops, it introduces an element of risk.

Lastly, how does this work for moving games to PS5 or Xbox? I see that iOS is supported, but that can be seriously limiting.

---

<div class="post-metadata">

**Author:** ![rooskier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rooskier](https://forums.unrealengine.com/u/rooskier)\
**Post date:** [April 30, 2024, 5:32pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/5 "2024-04-30T17:32:36Z")

</div>

I for one would be very interested in this capability and if I can carve out the time, would want to contribute to its success. If you haven’t already, I would reference or even try and get into contact with [Miguel de Icaza](https://en.wikipedia.org/wiki/Miguel_de_Icaza) who has been active in [bringing Swift](https://github.com/migueldeicaza/SwiftGodot) to other game engines, Godot for example.

---

<div class="post-metadata">

**Author:** ![Fonix\_za](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fonix\_za](https://forums.unrealengine.com/u/Fonix_za)\
**Post date:** [May 26, 2024, 7:05pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/6 "2024-05-26T19:05:29Z")

</div>

I would love to be able to use swift instead of c++ for unreal

---

<div class="post-metadata">

**Author:** ![Nocxr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nocxr](https://forums.unrealengine.com/u/Nocxr)\
**Post date:** [June 4, 2024, 9:48pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/7 "2024-06-04T21:48:53Z")

</div>

Hey I’m not sure if I am understanding this correctly, but being able to call swift code/apple api’s from inside UE would be fantastic, IE: calling ImageTrackingProvider on the Vision Pro would be a big step for us in a project

---

<div class="post-metadata">

**Author:** ![rexalbel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rexalbel](https://forums.unrealengine.com/u/rexalbel)\
**Post date:** [July 20, 2024, 3:26am UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/8 "2024-07-20T03:26:11Z")

</div>

Hello! I’m in the process of learning unreal and swift and would love to see a way to bring swift into unreal. Could there be a way to connect/make nodes with it too so that I could right things with blueprints but still connect those to swift for accessing Apple features like health? I come from a design background and visual scriptong is already used in many design programs. It’s a great way to bridge visual learners with programing logic. Anyway, someway to connect swift and blueprints would be amazing!

---

<div class="post-metadata">

**Author:** ![tootzoe1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tootzoe1](https://forums.unrealengine.com/u/tootzoe1)\
**Post date:** [July 20, 2024, 10:49am UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/9 "2024-07-20T10:49:56Z")

</div>

I am interested and looking forward to good news 💪

---

<div class="post-metadata">

**Author:** ![FletchApple](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FletchApple](https://forums.unrealengine.com/u/FletchApple)\
**Post date:** [August 23, 2024, 8:50pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/10 "2024-08-23T20:50:44Z")

</div>

I am looking at building a game in Swift. Having one language to focus on would certainly help with finding issues/bugs quickly. If/when you get this going, update here and when I have time, I would love to assist with development.

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [May 17, 2025, 1:29pm UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/11 "2025-05-17T13:29:49Z")

</div>

Don’t mix things together guys.

If your language have a way to talk with C++, you can call them.  
For example, I developed an Android NDI receiver plugin. To see NDI resources, I needed to trigger mDNS service. This can’t be made with pure C++. You need to write a Java function and call it with JNI.

Or, I used “Execute JavaScript” node to add some data to my chart.js based chart widget.

But all of these were just one goal. Extending.

Making a complete game/project or even UI with other than C++ or blueprints is very different, complex process which requires low level engine integratios.

I know that there are Rust, C# or JavaScript plugins to offer that but all of them are experimental, unofficial and not-production-ready stuff. So, if there will be a breaking change and maintainers abandon their projects, you will be alone.

For Epic’s case, don’t think they will ever add other languages just because there are people who afraid from C++. They added Python (and it is editor-only) because cinema/virtual production sector demanded it at enterprise level and companies don’t need runtime features.

Their focus is improving “verse”. Right now it is UEFN only. But maybe we can see it in Unreal Engine 6.

---

<div class="post-metadata">

**Author:** ![Calrizien](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/calrizien/32/637271_2.png) [@Calrizien](https://forums.unrealengine.com/u/Calrizien)\
**Post date:** [August 28, 2025, 6:11am UTC](https://forums.unrealengine.com/t/swift-with-unreal-engine-using-swift-programming-language-for-ue5-game-development/1735186/12 "2025-08-28T06:11:22Z")

</div>

Has anyone done this? What would it take?
