# Luoshuang's GPULightmass

**URL:** <https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [April 13, 2018, 5:44am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474 "2018-04-13T05:44:47Z")\
**Posts on this page:** 20\
**Page:** 125

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [October 7, 2024, 6:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2594 "2024-10-07T18:27:08Z")

</div>

hi @thewathcer ,  
There never was 5.2, because the original 5.2 had huge shadow problems.

Probably the most used is the 5.3 version before the 5.4 Licensing binary was launched

[Luoshuang’s GPULightmass Unreal Engine 5.3 Announce](https://forums.unrealengine.com/t/luoshuang-s-gpulightmass-unreal-engine-5-4-3-and-5-4-4-patch/1905932/3)

---

<div class="post-metadata">

**Author:** ![Olegsbr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olegsbr](https://forums.unrealengine.com/u/Olegsbr)\
**Post date:** [October 26, 2024, 6:01pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2595 "2024-10-26T18:01:40Z")

</div>

Hi @Jimbohalo10

I’m working on a large interior project, around 600 m². Unreal 5.3.2 version.  
Until yesterday, the lighting bake went smoothly, but last night I tried to bake the lighting with final settings of 128/64, and an ‘Invalid argument’ error appeared. Since then, the lighting won’t bake at any settings. I tried duplicating the project and migrating it, but nothing helps. Interestingly, there are other levels in the same project, and they bake without any issues.

There are also no errors shown in the log. I’ve updated the video driver as well, but nothing helps. What could be the problem? Has anyone else experienced this issue?

Many thanks

---

<div class="post-metadata">

**Author:** ![Olegsbr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olegsbr](https://forums.unrealengine.com/u/Olegsbr)\
**Post date:** [October 26, 2024, 6:06pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2596 "2024-10-26T18:06:11Z")

</div>

BTW my PC configuration  
CPU Intel I9 13900k  
128gb of RAM DDR5  
GPU 3090

---

<div class="post-metadata">

**Author:** ![frankr2994](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@frankr2994](https://forums.unrealengine.com/u/frankr2994)\
**Post date:** [October 31, 2024, 3:52am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2597 "2024-10-31T03:52:38Z")

</div>

Seeing if anyone could help me troubleshoot a little here. I am trying to use gpu lightmass on ue 4.27.1. only reason for the older editor is because its a modkit for a game I play. I copied the files over and the editor crashes when swarm starts. I also setup 4.27.2 and installed lightmass and it works fantastic. crash reporter seems to give more info than the log so this is all I have to work off of. "Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x0000000000000001

UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_UnrealEd  
UE4Editor\_LevelEditor  
UE4Editor\_LevelEditor  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_Slate  
UE4Editor\_ApplicationCore  
UE4Editor\_ApplicationCore  
UE4Editor\_ApplicationCore  
UE4Editor\_ApplicationCore  
user32  
user32  
UE4Editor\_ApplicationCore  
UE4Editor  
UE4Editor  
UE4Editor  
UE4Editor  
UE4Editor  
UE4Editor  
kernel32  
ntdll"

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [November 9, 2024, 6:49pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2598 "2024-11-09T18:49:44Z")

</div>

hi @Olegsbr ,  
After a long investigation to a similar problem with GPU settings.  
In effect 4096 x 4096 texture will work, but 4000 x 4000 will cause GPU crashes .  
In the Nvidia Cuda code that is LGPU this is taken into accoun and spits out invalid Argument.

The is because the values are not Power of 2. Epic have spent a LOT OF EFFORT in creating a tool in Unreal Engine 5.5 Fortnite called Confrom Texture.  
This tools effectively changes the texture to the nearest power of 2

Textures can be checked with a Windows Calculator take 4096 find square root and the decimal point is 0 namely an integer. Take 4000 square root and it got a long remainder after the decimal which is detected in Cuda and spits invalid argument namely the texture is a float not an integer

This causes the GPU to have patterns stored that cannot be over written, hence the need to restart the PC or reset from Nvidia Control panel.

If you want a more detailed log look at the Swarm log as LGPU is running and it will spit out a source code line number, basically this can be seen as an assertion code protecting the LGPU code  
The Swarm Cache needs deleting

see Fortnite  
[Document Resizing Textures contains error 512 is not a Power Of 2 - General / Issues and Bug Reporting - Epic Developer Community Forums](https://forums.unrealengine.com/t/document-resizing-textures-contains-error-512-is-not-a-power-of-2/2028723)

[Power Of 2 Does not work - Well it does](https://forums.unrealengine.com/t/power-of-2-does-not-work/2024339/4)

---

<div class="post-metadata">

**Author:** ![Olegsbr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olegsbr](https://forums.unrealengine.com/u/Olegsbr)\
**Post date:** [November 13, 2024, 5:36am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2599 "2024-11-13T05:36:20Z")

</div>

Hi @Jimbohalo10  
thank you for your response and your interesting take on this issue. I conducted extensive research with ChatGPT and tried many different solutions, but nothing worked. Initially, I thought the problem was due to importing bad models, but I deleted each newly added model one by one, and that didn’t help either. In the end, I discovered that I had some shoe models in the wardrobe, and I had duplicated some of them in Unreal. When I deleted the duplicated models, the problem disappeared. I have no idea why copying within Unreal caused this issue. But the fact is, as soon as I deleted these models, everything started working again.

---

<div class="post-metadata">

**Author:** ![dvg75](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dvg75/32/1007779_2.png) [@dvg75](https://forums.unrealengine.com/u/dvg75)\
**Post date:** [November 19, 2024, 12:41pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2600 "2024-11-19T12:41:56Z")

</div>

Is there a tutorial for dummies about the installation?  
im running 5.3.2 and just download a “lightmassConfiugatorUE5.master” from github.

But it says not tested on windows 11.

So does it work?

win 11-RTX 4080 super

---

<div class="post-metadata">

**Author:** ![MeanLemur](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meanlemur/32/758312_2.png) [@MeanLemur](https://forums.unrealengine.com/u/MeanLemur)\
**Post date:** [January 9, 2025, 2:32pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2601 "2025-01-09T14:32:06Z")

</div>

Does Luoshuang’s GPULightmass work on a AMD card?

---

<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:** [January 9, 2025, 5:52pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2602 "2025-01-09T17:52:17Z")

</div>

No, it runs on CUDA which is Nvidia only.

---

<div class="post-metadata">

**Author:** ![frankr2994](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@frankr2994](https://forums.unrealengine.com/u/frankr2994)\
**Post date:** [January 19, 2025, 1:52pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2603 "2025-01-19T13:52:11Z")

</div>

Does anyone have some secret sauce settings for 5.3 when baking a bunch of emissive static lights? Doesn’t seem to directly be an issue using GPU lightmass as I get the same results when using CPU or official GPU. But my emissives come out all splotchy and with light bleeding. I am using the same level that I’ve worked with on 4.27 and 5.4 and didn’t have this issue.

---

<div class="post-metadata">

**Author:** ![MeanLemur](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meanlemur/32/758312_2.png) [@MeanLemur](https://forums.unrealengine.com/u/MeanLemur)\
**Post date:** [January 25, 2025, 2:50pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2604 "2025-01-25T14:50:48Z")

</div>

would it work with ZLuda?

---

<div class="post-metadata">

**Author:** ![MeanLemur](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meanlemur/32/758312_2.png) [@MeanLemur](https://forums.unrealengine.com/u/MeanLemur)\
**Post date:** [February 18, 2025, 6:59pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2606 "2025-02-18T18:59:36Z")

</div>

Can I use a secondary Nvidia card do just the baking?

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [February 18, 2025, 11:22pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2607 "2025-02-18T23:22:56Z")

</div>

hi @MeanLemur  
if you use this as a primary adapter this will work there is NO WAY to use as a secondary the code is based on Unreal 4 which only uses a primary monitor. Secondary does not exist in Unreal 4 the Unreal 5 is same NVIDIA CUDA code

Emulators dont work just CPU baking

---

<div class="post-metadata">

**Author:** ![alejomar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alejomar](https://forums.unrealengine.com/u/alejomar)\
**Post date:** [May 5, 2025, 7:55pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2608 "2025-05-05T19:55:02Z")

</div>

Hi, there will be gpu Lightmass for Unreal 5.5?

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [May 9, 2025, 12:11am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2609 "2025-05-09T00:11:26Z")

</div>

GPU Lightmass ships with the engine. Go to plugins → GPU Lightmass → Enable it.

---

<div class="post-metadata">

**Author:** ![alejomar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alejomar](https://forums.unrealengine.com/u/alejomar)\
**Post date:** [May 10, 2025, 3:59pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2610 "2025-05-10T15:59:50Z")

</div>

Im asking about luoshang gpulightmass. I know about the integrated version. I had best results with luoshuang.

---

<div class="post-metadata">

**Author:** ![frankr2994](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@frankr2994](https://forums.unrealengine.com/u/frankr2994)\
**Post date:** [May 15, 2025, 1:05am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2611 "2025-05-15T01:05:08Z")

</div>

@Luoshuang @Jimbohalo10 I’m trying to dump gpulightmass into the meta fork of 4.27. I’m not sure how many problems will crop up with this but where I’m stuck at right now is with the UE4Editor-UnrealEd.dll file . error message entry point not found.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [May 26, 2025, 5:04am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2612 "2025-05-26T05:04:18Z")

</div>

> [@pax\_invictus](#):
>
> Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.27.0-release)

It’s kinda an oldie, but I had to go back to UE4.. How hard would it be to integrate into UE 4.27.2 Meta fork [https://github.com/Oculus-VR/UnrealEngine/tree/2ddff5ea99a8497195d5fe5cd8d180464b6e6b30](https://github.com/Oculus-VR/UnrealEngine/tree/2ddff5ea99a8497195d5fe5cd8d180464b6e6b30) ?

---

<div class="post-metadata">

**Author:** ![MiitsuOfficial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MiitsuOfficial](https://forums.unrealengine.com/u/MiitsuOfficial)\
**Post date:** [July 18, 2025, 9:16am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2613 "2025-07-18T09:16:47Z")

</div>

A big thank you from 2025!

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [September 27, 2025, 10:57am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2614 "2025-09-27T10:57:24Z")

</div>

This is a notification that LGPU 5.6 will be my LAST version. NO 5.7, 5.8,5.9, NOTHING in 6.0

Having looked at the response, the 5.3 free version for download has been the most successful with over \>400 downloads.

Epic Licensing and the removal of the GTX code in 5.4 onwards, and usage is now about 50 downloads. Two requests for 5.6

The will be similar problems for 5.7 on project conversion, and the desire for Lumen and Nanite is now greater than compatibility with LGPU.

More recently, Epic GPU Lightmass has been fixed and is the only system to support RTX 50XX series.

This, therefore, seems a good time to stop my seven years supporting LGPU, as the health Consultant thinks probably slow down and Fortnite support has taken over.

Please use the newly updated version of Epic GPU Lightmass for 5.6.1 , 5.7 onwards

[Epic’s GPUlightmass - 5.6.1 Experimental Description see Latest below](https://forums.unrealengine.com/t/epics-gpulightmass/139357/667)

Latest GPU deioniser, Nanite, all the things missing from LGPU

[Epic’s GPUlightmass - Experimental Release 2025.11.12](https://forums.unrealengine.com/t/epics-gpulightmass/139357/780)

[Previous page](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474.md?page=124)

[Next page](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474.md?page=126)
