# Nanite on Mac and iOS

**URL:** <https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966>\
**Category:** Rendering\
**Tags:** unreal-engine, Nanite\
**Created:** [May 24, 2022, 7:43am UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966 "2022-05-24T07:43:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gladhu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gladhu](https://forums.unrealengine.com/u/gladhu)\
**Post date:** [May 24, 2022, 7:43am UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/1 "2022-05-24T07:43:43Z")

</div>

After modify Unreal engine 5 source code and configs, UE5 can run nanite on mac successfully ! There are a lot of unsolved problems. Who is interested in working together to solve them? Whether UE officially allows code changes to be made public ？

[![r/unrealengine - Nanite on Mac and iOS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/1/1d1e831fd88655231da36b5ccf2c475dc1f004db.jpeg)](https://preview.redd.it/xbprssny1c191.png?width=2452&format=png&auto=webp&s=eb3294fce2da105c081fb12017d7f546f4c3cb6d)

nanite on mac

I also runs Nanite successfully on iOS, but there are more issues.

[![r/unrealengine - Nanite on Mac and iOS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/f/36f353734f2b78fe5d96b4c576fc1659aee53733.jpeg)](https://preview.redd.it/tdced0q02c191.png?width=2560&format=png&auto=webp&s=fe592c20ec2207c863be63f80d698b0cc149f0ef)

nanite on iOS

Problems include but are not limited to：

1、Only one thread group (64 threads) to run PersistentClusterCull, more thread group can cause gpu time out。

- Maybe because of the following reasons, I’m not sure

（If threadgroup\_barrier (or simdgroup\_barrier ) is inside a conditional statement and if any

thread enters the conditional statement and executes the barrier function, then all threads in

the threadgroup (or SIMD-group) must enter the conditional and execute the barrier function – from Metal Shading Language Specification)

2、 Metal (for iOS and MacOS platforms) does not support atomic operations on Textures[https://docs.unity3d.com/2022.2/Documentation/Manual/class-ComputeShader.html。](https://docs.unity3d.com/2022.2/Documentation/Manual/class-ComputeShader.html%E3%80%82) So depth buffer is not quite right

my redit post:[https://www.reddit.com/r/unrealengine/comments/uwgbmt/nanite\_on\_mac\_and\_ios/](https://www.reddit.com/r/unrealengine/comments/uwgbmt/nanite_on_mac_and_ios/)

---

<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:** [May 27, 2022, 5:54pm UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/2 "2022-05-27T17:54:15Z")

</div>

Good work! Let us know your progress please. I wish Epic would update us about whether Nanite will ever come to Mac officially.

---

<div class="post-metadata">

**Author:** ![jonaho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jonaho](https://forums.unrealengine.com/u/jonaho)\
**Post date:** [November 7, 2022, 8:18am UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/3 "2022-11-07T08:18:20Z")

</div>

Is this still an issue? I’ve been trying to learn UE5 on Mac for the past few weeks and all the meshes I bring into UE5 look great until I turn on nanite. The only nanite that works are directly from Megascans, which I suspect aren’t actually nanite in my case, just high mesh count. If nanite isn’t supported on mac, it’s incredible the program doesn’t warn you, it just let me sit there for weeks pulling my hair out trying to understand why while everyone can just press the nanite button I apparently cannot. I’m still not sure it’s mac and not just me…

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [November 7, 2022, 12:37pm UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/4 "2022-11-07T12:37:12Z")

</div>

The Windows version is just as bad about informing users if Nanite is working properly working, or what is wrong if it isn’t, unfortunately there aren’t any easy warnings like your hardware doesn’t support it, you need to enable this rhi and shading model, or you need to update your OS/drivers.

---

<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:** [November 8, 2022, 10:08pm UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/5 "2022-11-08T22:08:29Z")

</div>

they specifically said in the nanite announcements that its not compatible with mac ☹

---

<div class="post-metadata">

**Author:** ![jonaho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jonaho](https://forums.unrealengine.com/u/jonaho)\
**Post date:** [November 8, 2022, 10:51pm UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/6 "2022-11-08T22:51:46Z")

</div>

UGH. Now I have to go buy a fancy boxx computer.

---

<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:** [November 8, 2022, 10:54pm UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/7 "2022-11-08T22:54:52Z")

</div>

I know. It sucks. However there is hope. I’m no expert on these matters but I believe that Metal 3 now fills in the gaps that prevented Nanite from working on Macs. Now it’s up to Epic, Apple, or some intrepid 3rd party to make an update.

---

<div class="post-metadata">

**Author:** ![rogue0ne](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rogue0ne/32/478514_2.png) [@rogue0ne](https://forums.unrealengine.com/u/rogue0ne)\
**Post date:** [March 29, 2023, 6:22am UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/8 "2023-03-29T06:22:07Z")

</div>

That’s great work ! Maybe you did not read this : [Lumen & Nanite on MacOS](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411)

It might be good to get in touch with people like ::  
Richmar1  
[https://forums.unrealengine.com/u/richmar1](https://forums.unrealengine.com/u/richmar1)

> [@Lumen & Nanite on MacOS](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411):
>
> I’m on a 14" M1 Macbook Pro and lumen works great. This is a completely dynamic scene with no baked lighting with lumen dynamic global illumination. This scene is a red cube in a white room with a single point light.

Or  
Philip Turner

> **[@philipturner](https://forums.unrealengine.com/u/philipturner/)**

> [@Lumen & Nanite on MacOS](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/42):
>
> Hey, I’m new to Unreal Engine Forums but not new to Unreal Engine itself. I read through the website’s tutorials ~2 years ago and played with the editor a little. I was really excited when seeing UE5 for the first time, but suspicious when they only mentioned Nanite working on AMD/NVIDIA. I’m really skilled in the Metal API (\>1000 hours of experience), and I would be interested in helping out. It seems the Reddit thread was legit, but this was not emphasized properly. Nanite has been run on macO…

They are doing some pretty good tests to get Nanite and Lumen work on macOS ‘intel’/silicon machines.

I hope you all gonna make Unreal Engine work with all its amazing features such as Nanite, Lumen, ray tracing… on Mac hardware. Intel or Silicon.

I just don’t want to have to buy a PC when I know that softwares like Houdini, Maya, Nuke, FinalCutPro, Blender, DaVinci Resolve, ‘unity’, etc… take advantages of the very efficient and powerful Apple silicon hardware.  
Thank you guys for working hard on making that happen !

---

<div class="post-metadata">

**Author:** ![rogue0ne](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rogue0ne/32/478514_2.png) [@rogue0ne](https://forums.unrealengine.com/u/rogue0ne)\
**Post date:** [July 4, 2023, 1:33am UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/9 "2023-07-04T01:33:01Z")

</div>

Some great encouraging news for Nanite support on Apple Silicon !  
[https://portal.productboard.com/epicgames/1-unreal-engine-public-roadmap/c/1151-support-for-nanite-on-apple-m2-devices](https://portal.productboard.com/epicgames/1-unreal-engine-public-roadmap/c/1151-support-for-nanite-on-apple-m2-devices)  
It’s not mentioned if UE 5.3 universal build will bring Nanite to Intel CPU / AMD GPU hardware.  
But that’s just great news.  
Guys at Epic : you rock !

---

<div class="post-metadata">

**Author:** ![CapnSlipp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CapnSlipp](https://forums.unrealengine.com/u/CapnSlipp)\
**Post date:** [March 30, 2024, 8:55pm UTC](https://forums.unrealengine.com/t/nanite-on-mac-and-ios/564966/10 "2024-03-30T20:55:05Z")

</div>

> Metal (for iOS and MacOS platforms) does not support atomic operations on Textures

Unity’s documentation is incorrect, but that should be no surprise since that’s been an issue with Unity since the very beginning— vague, inaccurate, and sometimes just flat-out incorrect docs.

The full truth is that if you head over to Apple’s [Metal Shader Language Feature Set Tables](https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf), you find that Texture Atomics are supported by devices in classes Metal3, Apple6, and Mac2, and the first page tells us Apple6 is the A13 GPU— so Texture Atomics are supported by the iPhone 11 (2019), iPhone SE 2nd Gen (2020), iPad 9th Gen (2021), iPad Air 4th Gen (2020), and iPad Pros with M1 (2021), or newer (thanks to CPU lookup on [EveryI.com](https://everyi.com/by-processor/index-ipod-iphone-ipad-models-by-processor.html)). The Metal3/Mac2 class is (AFAIK) every Mac that runs the latest macOS— all M1/M2/M3 Macs, as well as Intel Macs with GPUs: AMD Vega, AMD 5000-series, 6000-series, Intel UHD Graphics 630, Intel Iris Plus Graphics.

So Unity’s page is really saying _“we wrote these docs a good while ago, probably around 2020, and all deployable iOS/macOS platforms didn’t support atomic textures at the time, so we didn’t both implementing it in Unity and haven’t updated the docs— we (Unity) don’t support Metal’s atomic textures, but we like to pass blame off on others and lie to make ourselves look better.”_
