# 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:** 4

<div class="post-metadata">

**Author:** ![sergealmazov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sergealmazov](https://forums.unrealengine.com/u/sergealmazov)\
**Post date:** [November 17, 2022, 8:53am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/67 "2022-11-17T08:53:33Z")

</div>

Mesh Shaders supported by Metal 3 API, probably we will see it in 5.2  
Moreover Mesh Shaders technology was also added to Vulkan. Linux users could also get Nanite like mac ones.

---

<div class="post-metadata">

**Author:** ![SpideyComic\_1511](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SpideyComic\_1511](https://forums.unrealengine.com/u/SpideyComic_1511)\
**Post date:** [November 17, 2022, 1:07pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/68 "2022-11-17T13:07:18Z")

</div>

I have a feeling that Nanite will come eventually. We just got to be patient. At least Lumen works! 😃

---

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [November 18, 2022, 11:52am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/69 "2022-11-18T11:52:58Z")

</div>

> [@SpideyComic\_1511](#):
>
> I have a feeling that Nanite will come eventually.

I don’t think Nanite will come on its own. Although it’s appealing to support Metal and DX11 through the 32-bit atomics workaround, Epic isn’t financially motivated to do so. I just hope another open-source volunteer comes along with time to spare, and finishes my work. It shouldn’t be that difficult!

Sorry for leaving you guys sooo close to having Nanite, but not going all the way.

---

<div class="post-metadata">

**Author:** ![MickL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MickL](https://forums.unrealengine.com/u/MickL)\
**Post date:** [November 20, 2022, 4:07pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/70 "2022-11-20T16:07:21Z")

</div>

Hey guys and @RichmarIII

could you please explain how you made Lumen working or did it just work perfectly out of the box?

I built the UE 5.1.0 release for Silicon and Lumen Global Illumination doesnt seem to work. It produces just a tiny bit of GI with weird light bleeding and wrong lights in the corners, and depending on where I move the camera this even changes. If I switch my lights and meshes to static and build the lighting I dont have ANY light and GI at all, the scene is pitch black.

I also tried Standalone Ray Traced which gives me NO global illumination from movable lights at all. Only if I switch everything to static and build the lighting I have correct light and GI.

Further point lights dont work at all when movable (both for Lumen and Standalone Ray Traced), they dont provide any light and only some tiny bit of weird and wrong GI. They only work when set to static within Standalone Ray Traced but not in Lumen no matter if static or movable.

Screenshot with Lumen and everything set to movable:

 ![Bildschirm­foto 2022-11-20 um 17.04.57](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/6/906c5ad7b5c29e138826a8d29549bb960065d4fa.jpeg)

This is what “Lumen Scene” shows:

 ![Bildschirm­foto 2022-11-20 um 17.06.58](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/6/896fe24d9a46bb12d75619a6eea45810a9353b54.jpeg)

I dont attach a Screenshot when everything is set to static because the scene is pitch black then, as I mentioned.

---

<div class="post-metadata">

**Author:** ![SpideyComic\_1511](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SpideyComic\_1511](https://forums.unrealengine.com/u/SpideyComic_1511)\
**Post date:** [November 20, 2022, 5:52pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/71 "2022-11-20T17:52:16Z")

</div>

Lumen for 5.1 is a little janky right now…they will probably release a hotfix for it soon. For the meantime use 5.0.3 for a more stable editor. Lumen should work for Silicon in that version.

---

<div class="post-metadata">

**Author:** ![MickL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MickL](https://forums.unrealengine.com/u/MickL)\
**Post date:** [November 21, 2022, 1:34pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/72 "2022-11-21T13:34:16Z")

</div>

I wasnt able to build 5.0.x because I had some errors when creating project files and in XCode I didnt had the option to build. Maybe it is related to macOS Ventura and Xcode 14 and they fixed it in 5.1?

Will switch back to Unity which is working perfectly on macs + native on Apple Silicon.

---

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [November 22, 2022, 1:20pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/73 "2022-11-22T13:20:21Z")

</div>

> [@MickL](#):
>
> Will switch back to Unity

That’s unfortunate - I have tried both Unity and Unreal, and found Unreal was the best engine!

> Maybe it is related to macOS Ventura and Xcode 14

There have been new build issues coming from Xcode 14, at least the beta. For me, they came when building UE5 from source. Could you report the specific error you faced?

---

<div class="post-metadata">

**Author:** ![MickL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MickL](https://forums.unrealengine.com/u/MickL)\
**Post date:** [November 26, 2022, 10:12pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/74 "2022-11-26T22:12:22Z")

</div>

How can Unreal be better if it isnt working at all? Silicon Macs have been introduced end of 2020 and still Epic didnt manage to support it. Unity showed native support in mid 2021 and they dont even have close as much money (and therefor resources) as Epic does. Still Unity and also Blender run perfectly without anything missing. Even the tiny Godot engine has native Silicon support. Its a shame Epic.

---

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [November 28, 2022, 12:55am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/75 "2022-11-28T00:55:56Z")

</div>

I’d say UE5 \> Unity \> UE4. I concluded that mostly from a 3D graphics perspective, UE has the best quality. Especially with version 5, which cleaned up the editor and made it more user-friendly. This closed the gap in user-friendliness with Unity.

Also UE5 is open source (Unity is not) which means we can do things like [port Nanite to macOS](https://github.com/philipturner/ue5-nanite-macos) ourselves.

> [@MickL](#):
>
> Its a shame Epic.

Perhaps not a surprise, given the legal battle Apple encountered with Epic. A few months after the first UE5 teaser was announced.

---

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [December 10, 2022, 8:48pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/76 "2022-12-10T20:48:05Z")

</div>

I have received an unconfirmed claim that Apple engineers said the M2 chip supports 64-bit (only ulong min/max?) atomics, and all other chips don’t. If anyone on this thread has an M2, I kindly ask you to volunteer to help me confirm this claim.

Even if true, we shouldn’t leave M1 users behind and restrict Nanite to M2. Or, for that matter, continue leaving Windows users with older graphics cards out of the fun.

---

<div class="post-metadata">

**Author:** ![rubink](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rubink](https://forums.unrealengine.com/u/rubink)\
**Post date:** [December 24, 2022, 11:47am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/77 "2022-12-24T11:47:58Z")

</div>

![Front.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/c/7ac12ba086cd82bc9c9c90cf76842001b35fdc4a.jpeg)  
 ![Stirn.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/5/6c5601a76e8a7c3e54c03e0f449d09cae1c185d6.jpeg)

Lumen works quite fine… but Lumen Reflection is not too good yet… lots of black spots…  
How can I fix this?

---

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [December 24, 2022, 7:46pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/78 "2022-12-24T19:46:42Z")

</div>

Someone tested 64-bit integer max on A16; it doesn’t work.

> **[Apple Silicon in Sciences](https://forums.macrumors.com/threads/apple-silicon-in-sciences.2374458/page-2?post=31828266#post-31828266)**
>
> That's a shame. Out of curiosity I tried your test program on my iPhone 14 Pro I can confirm that A16 also gets the same "Compiler failed with XPC\_ERROR\_CONNECTION\_INTERRUPTED"
> 
> Unfortunately I don't have an M2 to test on.

---

<div class="post-metadata">

**Author:** ![philipturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@philipturner](https://forums.unrealengine.com/u/philipturner)\
**Post date:** [January 11, 2023, 7:33pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/79 "2023-01-11T19:33:57Z")

</div>

Doesn’t work on an AMD GPU **with native 64-bit atomics** either ([source](https://github.com/philipturner/MoltenCL/issues/1#issuecomment-1379056191)). So pretty much all of us Mac users need to rely on atomic64 emulation.

---

<div class="post-metadata">

**Author:** ![tbelgrave](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tbelgrave/32/623009_2.png) [@tbelgrave](https://forums.unrealengine.com/u/tbelgrave)\
**Post date:** [February 19, 2023, 6:50pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/80 "2023-02-19T18:50:35Z")

</div>

I’m curious how peeps are getting Lumen working adequately. I started this thread here comparing my M1 Max 32GB Macbook (Ventura 13.1)

I’ve adjust

[Shadow/Reflection differences M1 Mac/PC - Development / Rendering - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/shadow-reflection-differences-m1-mac-pc/772225/5)

I’ve even recently tried a few settings here and still really dark/black shadows

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/a/2bab1078edfe10a4935d77b05f06613769e06343.png)

---

<div class="post-metadata">

**Author:** ![tbelgrave](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tbelgrave/32/623009_2.png) [@tbelgrave](https://forums.unrealengine.com/u/tbelgrave)\
**Post date:** [February 19, 2023, 7:08pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/81 "2023-02-19T19:08:18Z")

</div>

Just an FYI, I set the GI to Screen Space(Beta) and got this look. Will hold me to 5.2!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/0/d206024597227fdd8fa2dc01950ebacb99d5a8bf.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/8/6986392513018ce18155ebb2ea9c9d5b4c81255e.png)

---

<div class="post-metadata">

**Author:** ![Menesis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Menesis](https://forums.unrealengine.com/u/Menesis)\
**Post date:** [March 4, 2023, 8:21pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/82 "2023-03-04T20:21:13Z")

</div>

I just got a M2 Max (38 GPU cores) and 64 GB RAM, and just built UE5.2 and am running it for the first time.  
What can I do to help?  
Lumen seems to work OK at first site in the standard FPS template. Nanite visualization does not do anything, despite it being on in project settings.

---

<div class="post-metadata">

**Author:** ![tbelgrave](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tbelgrave/32/623009_2.png) [@tbelgrave](https://forums.unrealengine.com/u/tbelgrave)\
**Post date:** [March 5, 2023, 12:45am UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/83 "2023-03-05T00:45:21Z")

</div>

Oh that’s great! I haven’t learnt how to build my own yet, that would be my start for sure. UE5.2 appears to be a nice update from what I’ve been seeing.

thx

~t

---

<div class="post-metadata">

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

</div>

You could [test whether M2 supports](https://github.com/philipturner/ue5-nanite-macos/blob/main/AtomicsWorkaround/README.md) 64-bit atomic min/max!

---

<div class="post-metadata">

**Author:** ![Menesis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Menesis](https://forums.unrealengine.com/u/Menesis)\
**Post date:** [March 6, 2023, 8:30pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/85 "2023-03-06T20:30:53Z")

</div>

Building it was quite easy actually with the instructions provided on the github repo. Just took some waiting time.

---

<div class="post-metadata">

**Author:** ![Menesis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Menesis](https://forums.unrealengine.com/u/Menesis)\
**Post date:** [March 6, 2023, 8:36pm UTC](https://forums.unrealengine.com/t/lumen-nanite-on-macos/508411/86 "2023-03-06T20:36:16Z")

</div>

Followed the steps and got this on MacOS 13.2.1, XCode 14.2, M2 Max:  
**2023-03-06 21:35:18.422251+0100 Atomics[64267:1072961] Metal API Validation Enabled**

**2023-03-06 21:35:18.467293+0100 Atomics[64267:1072961] Use of MTLCreateSystemDefaultDevice is not supported for non-interactive (commandline or daemon) apps. Use MTLCopyAllDevices(WithObserver) instead.**

**Atomics/main.swift:37: Fatal error: Unexpectedly found nil while unwrapping an Optional value**

**2023-03-06 21:35:18.467564+0100 Atomics[64267:1072961] Atomics/main.swift:37: Fatal error: Unexpectedly found nil while unwrapping an Optional value**

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

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