# Lumen & Nanite on MacOS

**URL:** <https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411>\
**Category:** Rendering\
**Tags:** unreal-engine, Lumen, Lighting, Nanite\
**Created:** [March 20, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411 "2022-03-20T18:01:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [March 20, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/1 "2022-03-20T18:01:52Z")

</div>

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.

 ![Screen Shot 2022-03-20 at 1.47.34 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/4/264967083b0f200aa3d1292cfe7d42302d64660f.jpeg)

---

<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:** [March 20, 2022, 6:20pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/2 "2022-03-20T18:20:19Z")

</div>

how? are you sure its Lumen? How can you be sure?

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [March 20, 2022, 7:00pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/3 "2022-03-20T19:00:32Z")

</div>

yes, it is lumen, i can use the lumen debug visualization modes and see clearly it’s enabled. i can also toggle lumen on and off and the global illumination also disappears/appears accordingly. I am using UE5 Preview 2 and MacOS 12.3. This is what also appears when i type “show VisualizeLumen” in a packaged build:

 ![Screen Shot 2022-03-20 at 3.03.39 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/b/77b39694f8e39aade3c0b66b394acb94d2813c2e.jpeg)

lumen reflection is also working:

 ![Screen Shot 2022-03-20 at 8.32.24 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/9/0496b8a5d61535906e08a58e51b02080b0060819.jpeg)

---

<div class="post-metadata">

**Author:** ![UElaci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UElaci](https://forums.unrealengine.com/u/UElaci)\
**Post date:** [March 21, 2022, 7:03am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/4 "2022-03-21T07:03:31Z")

</div>

This is great news.  
Does hardware raytracing work too? Lumen looks best when usint hw raytracing but I don’t know if that works on m1.

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [March 21, 2022, 11:39am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/5 "2022-03-21T11:39:05Z")

</div>

No, it does not. M1 Macs don’t have Raytracing Hardware on Chip. The Metal Graphics API however, does have a Raytracing API that runs on Compute shaders on the GPU but does not run at interactive rates. At this time, It’s meant to aid in offline renders in software such as Blender and others. I personally believe that apple will eventually add specific Raytracing Hardware on Chip but who knows exactly when that will happen.

---

<div class="post-metadata">

**Author:** ![Raziel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Post date:** [April 6, 2022, 12:42am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/6 "2022-04-06T00:42:44Z")

</div>

What I want to know is when Nanite will be supported on MacOS. It’s one of the main features of UE5, so it really sux that UE5 shipped without implementing it on MacOS. The documentation states it even works on PS4 and Xbox One (though not very well), and I know that Nanite is largely software rasterised. Given how fast the M1 processors are and that Nanite can even work on old GCN GPUs, it should be more than possible getting it working on M1-based MacBooks. Has anyone heard anything?

---

<div class="post-metadata">

**Author:** ![Gasbladet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gasbladet](https://forums.unrealengine.com/u/Gasbladet)\
**Post date:** [April 21, 2022, 9:16am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/7 "2022-04-21T09:16:47Z")

</div>

Hi, does it still work? It worked for me even on an intel mac on preview2. Now it doesnt work anymore.

---

<div class="post-metadata">

**Author:** ![Raziel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Post date:** [April 23, 2022, 1:58pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/8 "2022-04-23T13:58:26Z")

</div>

I’m not sure what you mean by ‘it’, but I assume you mean either Lumen or Nanite. Short version, Lumen works, Nanite does not. I’m pretty sure preview 2 didn’t support either of those features, the final release does support Lumen though.

Around Nanite support: no one has been able to provide me with a solid technical reason why Nanite couldn’t work on the Mac. I’ve heard various reasons thrown around like M1 GPU not supporting tessellation, but that’s false, it does, but even if it didn’t, Nanite is mostly software rasterised anyway, so it wouldn’t explain why it couldn’t work on the Mac.

Meanwhile, Epic has been dead silent on the topic, the documentation doesn’t even mention if it’s supported on the Mac or not and they seemingly refuse to make any sort of statements or respond to any comments involving Nanite support on Mac. Meanwhile you have people like myself that don’t know how to proceed as we just don’t know whether Epic intends to implement Nanite support for the Mac or not.

I’m extremely disappointed that Unreal Engine 5 launched in the state that it did, with the Mac version completely missing one of the most important features that the new engine has to offer.

---

<div class="post-metadata">

**Author:** ![Gasbladet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gasbladet](https://forums.unrealengine.com/u/Gasbladet)\
**Post date:** [April 26, 2022, 8:13am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/9 "2022-04-26T08:13:13Z")

</div>

Hey, thanks for your answer. I meant lumen. And it did work for me on intel Mac on preview 2. And it stopped working after that. I have no idea why. 😕

---

<div class="post-metadata">

**Author:** ![Raziel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Post date:** [April 26, 2022, 8:26am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/10 "2022-04-26T08:26:07Z")

</div>

The only other thing I can suggest trying is to create a new project in UE5, and in the Project Settings, under Platforms-\>Mac, make sure that you’ve got the latest version of Metal selected and that everything looks like it’s on desktop-based settings.

---

<div class="post-metadata">

**Author:** ![Gasbladet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gasbladet](https://forums.unrealengine.com/u/Gasbladet)\
**Post date:** [April 26, 2022, 10:58am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/11 "2022-04-26T10:58:26Z")

</div>

Thank you! I will try that!

---

<div class="post-metadata">

**Author:** ![Raziel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Post date:** [April 26, 2022, 12:25pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/12 "2022-04-26T12:25:00Z")

</div>

Also make sure when you create the project it’s set to high end desktop, not one of the mobile settings since that will obviously disable Lumen.

---

<div class="post-metadata">

**Author:** ![Raziel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Post date:** [May 4, 2022, 10:27pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/14 "2022-05-04T22:27:52Z")

</div>

I’m not talking about M1 support, I’m talking about Nanite support on Mac.

---

<div class="post-metadata">

**Author:** ![Raziel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Post date:** [May 5, 2022, 6:23am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/16 "2022-05-05T06:23:08Z")

</div>

How is that safe to say? M1 support simply means that the editor/engine is compiled as an ARM binary instead of an Intel one. That has nothing to do with Nanite.

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [May 8, 2022, 3:08am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/18 "2022-05-08T03:08:33Z")

</div>

while that is 100% true, i think that when epic decides to buckle down and fully support the apple silicon, they will be in a mindstate that they start to implement everything else they intended to at some point

---

<div class="post-metadata">

**Author:** ![Axomit10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Axomit10](https://forums.unrealengine.com/u/Axomit10)\
**Post date:** [May 9, 2022, 10:28am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/19 "2022-05-09T10:28:27Z")

</div>

It will be nice to put together hardware info for MacOS users, which Macs work with Lumen and Nanite.  
I have a 5k retina, and Lumen, Nanite, and Backinglight don’t work.  
 ![Screenshot 2022-05-05 at 17.09.53](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/9/ee94bb3f481c77718ae2c8b99525da8ed1ff738f.png)  
… and I have a MacAir 2020 M1 and Lumen and Baked Light, work. Ninate didn’t check yet.  
 ![Screenshot 2022-05-08 at 11.10.11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/f/e7fd0adf75cb7e8cae30ea8813edb73883a0400c.png)

---

<div class="post-metadata">

**Author:** ![Krustenkaese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krustenkaese](https://forums.unrealengine.com/u/Krustenkaese)\
**Post date:** [May 12, 2022, 12:24pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/20 "2022-05-12T12:24:41Z")

</div>

Also the question for me if it is related to the hardware that the M1 is not supported, or just the Metal API that is not fully integrated / not supporting it.

e.g. if i see the screenshot above, the Radeon Pro 570X seems like it does not work in the Mac, but should on windows?

It might take some rendering engine developer who can share some insights what it is lacking off, time to integrate, hardware support or software api support

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [May 16, 2022, 2:14am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/21 "2022-05-16T02:14:00Z")

</div>

![Screen Shot 2022-05-15 at 10.12.51 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/3/303698724a305e1082ce484a88126e43e6af4c25.jpeg)

Lumen Works (Software Tracing). Nanite NOT Working

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [May 16, 2022, 4:59am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/22 "2022-05-16T04:59:25Z")

</div>

So I did some testing and I didn’t investigate too much, BUT… I forced _Nanite_ to be supported on MacOS by adding:

_[ShaderPlatform METAL\_SM5]_  
**bSupportsNanite=true**

to:

_Engine/Config/Mac/DataDrivenPlatformInfo.ini_

and this resulted in a bunch of shaders recompiling on engine launch. _Nanite_ still didn’t appear to work even though i forced it on. Turns out the engine was checking for support for Atomics for the UInt64 type which the Metal RHI reports that it does not suppport. I forced support with:

_GRHISupportsAtomicUInt64 = true;_

This causes the engine to crash due to threads not being created because

_GRHIPersistentThreadGroupCount \< =0;_

So i forced it with:

_GRHIPersistentThreadGroupCount = 1;_

this causes the engine to crash because it cant find a particular compute shader. So it appears that nanite is not supported due to the hardware not being physically supported _(GRHISupportsAtomicUInt64)._ This could be because the M1 is using Rosetta x86 emulation or the M1 could actually not support it period. i have no clue, it’s not something i’ve studdied at length. So, It appears as though the M1 does not contain the proper hardware required to run nanite in it’s current state. I’m sure that the nanite algorithm could be modified slightly to allow support. This is all a shot in the dark from only 20 minutes of investigation.

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [May 17, 2022, 8:52pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/23 "2022-05-17T20:52:03Z")

</div>

That is excellent info and i was very excited to hear that i could package my game in native m1 mode. However, i’ve tried every which way and it doesn’t actually work. This could be project specific so it may work for others. If i use _-architecture=arm64_ like it says , it just complains that arm64(M1) is not supported and it’s going to build in x86(Intel) mode anyways. however, if i use _-specifiedarchitecture=arm64_ it will complain that MyGameEditor arm64(M1) is not supported but it will compile MyGame (No Editor) in arm64(M1) mode. Everything compiles appropriately but it still fails to package because it can’t find all of the .dSYM files (debug info files) for my project and the engine. Even in shipping builds it still tries to find them and it fails due to not being able to find them. If i change my Target.cs files to manually override the including of debug info, it won’t complain about not finding debug info but it will actually say the infamous “Launch was not setup to be included in binary build. please mark it as PrecompileForTargets.Any” and it fails to package. So, unless i’m not doing something correct (I’m litterally following that documentation page to the letter) M1 is not supported in any build of your game. If someone can get it to package for arm64(M1) please do let me know, i’m interested in testing the performance between the two builds of my game. Thank you all.

**EDIT:** It appears that it might work for source builds of the engine.

**EDIT 2:** I can confirm that it also does not work for source builds (6 hours to build the engine for nothing lol). Well, i guess just hope for proper M1 support soon

**EDIT 3:** Ok…So, Using visual studio code, i am able to compile UnrealGame to apple silicon (M1). Doing the same for my project, also works. So yes, with the Source version of the engine, you can indeed compile the engine and your game to native apple silicon, just not the Editor.

[Next page](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411.md?page=2)
