# UE5 for M1 Apple Silicon

**URL:** <https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine\
**Created:** [November 6, 2021, 6:37pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580 "2021-11-06T18:37:07Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [June 28, 2022, 7:37pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/97 "2022-06-28T19:37:21Z")

</div>

I was having the same problem but it was an issues in the code. they just add new commits which seem to fix the problem for me.

-Fix build, rebuild arm64 Mac architecture for MTLPP  
-Update enum used by the Metal RHI

So you could try git pull the lastest but since new code could break it again here is the commit I use to compile from code.

commit e88908fda4f8b1f2f4c401b1c2403625346ea545 (HEAD → ue5-main, origin/ue5-main)  
Author: ben hoffman [ben.hoffman@epicgames.com](mailto:ben.hoffman@epicgames.com)  
Date: Tue Jun 28 11:47:26 2022 -0400

---

<div class="post-metadata">

**Author:** ![DaveRave227](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveRave227](https://forums.unrealengine.com/u/DaveRave227)\
**Post date:** [June 29, 2022, 11:18am UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/98 "2022-06-29T11:18:31Z")

</div>

> [@SimplyPhy](#):
>
> [Unreal Engine on GitHub](https://www.unrealengine.com/en-US/ue-on-github)

Seeing as UE5 now natively supports Apple silicon, can you redo the Nanite comparison to see how it has improved?

---

<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:** [July 3, 2022, 8:54pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/99 "2022-07-03T20:54:07Z")

</div>

I now have the Unreal Editor running as an Apple Silicon app, however the ShaderCompilerWorker is still Intel! 🙂 So no real speedup to compiling shaders yet.

---

<div class="post-metadata">

**Author:** ![cadenkriese](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cadenkriese/32/466569_2.png) [@cadenkriese](https://forums.unrealengine.com/u/cadenkriese)\
**Post date:** [July 3, 2022, 9:29pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/100 "2022-07-03T21:29:46Z")

</div>

I’m not sure all the information in this thread is correct. I downloaded the ue5-main branch last night and built from source (in 2.5h) on my M1 Max. Running the engine, the startup time was still painfully slow with multiple instances of ShaderCompiler pegging my CPU.

Looking in the Engine/Binaries/Mac folder and running `file ShaderCompilerWorker` shows that most of the underlying binaries of UE5 are still x86\_64 not arm64. Which explains why I didn’t notice any improvement on these shader compile times.

Another bit worth noting is that Metal 3 supports shader precompilation for Apple devices which could potentially help this start up time? Though I suppose these shaders are in the Unreal shader format so maybe not.

---

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [July 5, 2022, 11:24pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/102 "2022-07-05T23:24:07Z")

</div>

I’m using a M1 Max too and normally take me about 45 minutes for UE5 build.

The **ShaderCompilerWorker** get actually compile for **arm64** but I notice there is a bug in the build system when building the **Editor** , the flag for arm64 doesn’t get passed so it rebuild the ShaderCompilerWorker for x86\_64.

A quick workaround is to open **XcodeBuild.sh** and on **line: 106** replace it with this online (I just add the arm64 flag)

`dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll ShaderCompileWorker Mac Development -architecture=arm64`

I’m learning Metal so I’m kind of new to this but base on my newbie understanding precompilation is more for when you shipping the product to customers. As developer in this case Unreal Source, you have to compile them but if you shipped a game those get precompile so the end user have a fast loading experience.

 ![Screen Shot 2022-07-05 at 7.26.23 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/c/39cdee38184f1b774eff695c59724f71ff70684b.jpeg)

---

<div class="post-metadata">

**Author:** ![robert7020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robert7020](https://forums.unrealengine.com/u/robert7020)\
**Post date:** [July 6, 2022, 7:09pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/103 "2022-07-06T19:09:34Z")

</div>

Does your version of UE5 allow you to instal the new metahuman plugin for the Mac? Or does it still say ‘unavailable’? I can’t seem to be able to instal it and apparently it’s not ready for the mac

---

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [July 6, 2022, 8:20pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/104 "2022-07-06T20:20:23Z")

</div>

I’m kind of new so I’m learning the basics haven’t gotten to Metahumans yet but a quick search in the code shows that they have disabled the plugin for mac-arm for now until they figure out how to make it work.

But you can remove the plugins from the disabled list and give it a try maybe it’s working now.

Here are the file and lines:

`/Engine/Source/Programs/UnrealBuildTool/Platform/Mac/UEBuildMac.cs`, **line: 144 and 145**.

```auto
// Mac-Arm todo - Do we need to compile in two passes so we can set this differently?
			bool bCompilingForArm = Target.Architecture.IndexOf("arm", StringComparison.OrdinalIgnoreCase) >= 0;
			bool bCompilingMultipleArchitectures = Target.Architecture.Contains("+");

			if (bCompilingForArm)
			{
				Target.DisablePlugins.AddRange(new string[]
				{
					// onnx:
                    ...
					"MetaHumanAnimator",
					"MetaHumans",

```

---

<div class="post-metadata">

**Author:** ![robert7020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robert7020](https://forums.unrealengine.com/u/robert7020)\
**Post date:** [July 6, 2022, 9:22pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/105 "2022-07-06T21:22:25Z")

</div>

Thanks so much for the info. unfortunately i’m super new too, I wouldn’t even know where to begin about downloading the code and then removing those lines.

---

<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:** [July 8, 2022, 5:39pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/106 "2022-07-08T17:39:00Z")

</div>

Any thoughts on how to get the Lyra Starter Game to load with this Apple Silicon setup? I keep getting a bunch of errors when I try to open the project with the source build, though it opens fine with an installed build.

---

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [July 8, 2022, 7:52pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/107 "2022-07-08T19:52:01Z")

</div>

So I spend a little bit of time looking at it and I don’t think it’s related to Apple Silicon but to Version 5.1.

My best guess is that Lyra Starter Game was build way before UE5 was release and now in version 5.1 they are cleaning up the source code and a lot of the code Lyra was build on its been deprecated.

```auto
/Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h:232:43: note: expanded from macro 'UE_DEPRECATED'

#define UE_DEPRECATED(Version, Message) [[deprecated(Message " Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")]]

Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h:109:2: note: 'AssetClass' has been explicitly marked deprecated here
        UE_DEPRECATED(5.1, "Class names are now represented by path names. Please use AssetClassPath.")

```

They will have to update Lyra code again for 5.1

---

<div class="post-metadata">

**Author:** ![735333df6d5b4784be24](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@735333df6d5b4784be24](https://forums.unrealengine.com/u/735333df6d5b4784be24)\
**Post date:** [July 11, 2022, 8:59am UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/108 "2022-07-11T08:59:49Z")

</div>

Does there any timeline on when will official release M1 arm version?

---

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [July 11, 2022, 2:53pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/109 "2022-07-11T14:53:53Z")

</div>

I haven’t seen any official release date information or even what features are been built by version.

The little I know is because community members found it by either running the source code or reading the commit message on GitHub.

---

<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:** [July 13, 2022, 2:50am UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/110 "2022-07-13T02:50:18Z")

</div>

New commit message today: Add Arm64 support for Mac builds.

This updates the InstalledEngineBuild.xml file so its safe to say we’ll see an ARM64 version downloadable from the launcher when 5.1 is released!

---

<div class="post-metadata">

**Author:** ![ethielmarius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ethielmarius](https://forums.unrealengine.com/u/ethielmarius)\
**Post date:** [July 14, 2022, 7:32pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/111 "2022-07-14T19:32:41Z")

</div>

> [@Rspaulino](#):
>
> -architecture=arm64

I’m able to build the engine for M1, but when I launch the editor using the .app file, it says that “Plugin Iris couldn’t be found”. Do you know any workaround?

---

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [July 14, 2022, 7:52pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/112 "2022-07-14T19:52:21Z")

</div>

what I normally do is that I keep two clone repositories and update one of them every other day because it’s an active development branch things will start breaking real quick.

the fastest fix you can do is to check out a commit from a day or two ago. It’s faster than debugging or `git pull` by the end of the day, I saw some fixes they just commit for building the modules.

---

<div class="post-metadata">

**Author:** ![ethielmarius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ethielmarius](https://forums.unrealengine.com/u/ethielmarius)\
**Post date:** [July 15, 2022, 1:35pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/113 "2022-07-15T13:35:39Z")

</div>

Well, clang is now failing on M1 Max. I guess we have to wait till the nice guys working in Epic Games fix all the issues, or get the code from a couple of days ago.  
Thanks, anyway 🙂  
This is the issue, just in case someone cares about it:  
node\_attr\_utils.cc.o  
onnxruntime::fbs::utils::LoadAttributeOrtFormat(onnxruntime::fbs::Attribute const&, onnx::AttributeProto&, std::\_\_1::unique\_ptr\<onnxruntime::Graph, std::\_\_1::default\_deleteonnxruntime::Graph \>&, onnxruntime::Graph&, onnxruntime::Node&, onnxruntime::logging::Logger const&) in graph\_flatbuffers\_utils.cc.o  
ld: symbol(s) not found for architecture arm64

---

<div class="post-metadata">

**Author:** ![Rspaulino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rspaulino](https://forums.unrealengine.com/u/Rspaulino)\
**Post date:** [July 15, 2022, 2:20pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/114 "2022-07-15T14:20:24Z")

</div>

this is the commit I’m using and it’s work fine in case you don’t want to wait.

just `git checkout` this commit and you will be able to build.

`commit c545105b3ab5621b4e6ba4ff0d0833b85265d83a (HEAD -> ue5-main, origin/ue5-main)`

---

<div class="post-metadata">

**Author:** ![TheGreatDaniad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheGreatDaniad](https://forums.unrealengine.com/u/TheGreatDaniad)\
**Post date:** [July 16, 2022, 1:17am UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/115 "2022-07-16T01:17:52Z")

</div>

I got to compile it for my macbook pro 2020 apple m1,  
It took over 5 hours to compile. The framerate is still somewhere between 10-20 fps but it feels more smoothly right now.

---

<div class="post-metadata">

**Author:** ![735333df6d5b4784be24](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@735333df6d5b4784be24](https://forums.unrealengine.com/u/735333df6d5b4784be24)\
**Post date:** [July 16, 2022, 2:09pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/116 "2022-07-16T14:09:56Z")

</div>

Am really hoping for UE 5.1 ! Does there any time estimated will release?

---

<div class="post-metadata">

**Author:** ![TheGreatDaniad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheGreatDaniad](https://forums.unrealengine.com/u/TheGreatDaniad)\
**Post date:** [July 16, 2022, 4:36pm UTC](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580/117 "2022-07-16T16:36:05Z")

</div>

When I try to open quixel bridge the app crashes (m1 build), any idea on how to fix?  
I also activated web browser and web authentication plugin

[Previous page](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580.md?page=4)

[Next page](https://forums.unrealengine.com/t/ue5-for-m1-apple-silicon/259580.md?page=6)
