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

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 23, 2021, 12:04am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2116 "2021-04-23T00:04:03Z")

</div>

> [@Situx](#):
>
> Install script updated for 4.24.3, 4.25.4, and 4.26.2
> 
> [Releases · sgeraldes/LightmassConfiguration (.com)](https://.com/sgeraldes/LightmassConfiguration/releases)
> 
> You can use the script to change quality settings on the fly, no need to restart UE4 or mess with ini files.
> 
> If you use it, and want to support the work to keep it up to date, please drop by my patreon:

Just follow the link

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a412bf101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a412bf101](https://forums.unrealengine.com/u/anonymous_user_a412bf101)\
**Post date:** [May 14, 2021, 12:23am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2117 "2021-05-14T00:23:32Z")

</div>

how did solve this i still have this error too

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a412bf101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a412bf101](https://forums.unrealengine.com/u/anonymous_user_a412bf101)\
**Post date:** [May 14, 2021, 12:42am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2118 "2021-05-14T00:42:40Z")

</div>

Hello Guyz im Having those 2 Problems ( i use for Version 4.26 )

Error Message Nu.1 :-  
Assertion failed: primitiveCount \> 0, file , line 61

Error Message Nu.2 :-

 ![ERROR](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/e/dee345e47bf3104a14921cc497c32de048a27bc5.jpeg)

So how to fix those Problems Please, i have been trying to fix these errors for more than 5 days of no hope ☹

---

<div class="post-metadata">

**Author:** ![Miguel1900](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miguel1900/32/1010694_2.png) [@Miguel1900](https://forums.unrealengine.com/u/Miguel1900)\
**Post date:** [May 16, 2021, 10:57am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2119 "2021-05-16T10:57:05Z")

</div>

For me, usually that problem is due to some problematic mesh.

You can try to delete a 25% of all your scene meshes (always without saving, of course). If persists, another 25%, etc. Until you can isolate the ‘corrupted’ mesh.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a412bf101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a412bf101](https://forums.unrealengine.com/u/anonymous_user_a412bf101)\
**Post date:** [May 16, 2021, 9:25pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2120 "2021-05-16T21:25:48Z")

</div>

How can it be Corrupted !!?, it has all lightmaps channels assigned Correctly

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a412bf101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a412bf101](https://forums.unrealengine.com/u/anonymous_user_a412bf101)\
**Post date:** [May 17, 2021, 12:23pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2121 "2021-05-17T12:23:51Z")

</div>

Someone Answer please

---

<div class="post-metadata">

**Author:** ![lhg2h](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lhg2h](https://forums.unrealengine.com/u/lhg2h)\
**Post date:** [May 27, 2021, 1:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2122 "2021-05-27T13:27:47Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/4/247756c34f8b82259ef3aae92b6c81301966141f.jpeg)

hi!  
I’m currently using Unreal Engine 4.26 and when I bake, I’m experiencing the following image. This phenomenon happens unconditionally when more than one light is used. Is there a solution?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6efcf5e01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6efcf5e01](https://forums.unrealengine.com/u/anonymous_user_6efcf5e01)\
**Post date:** [May 31, 2021, 8:04am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2123 "2021-05-31T08:04:29Z")

</div>

Hey Shaft, how is it going?  
It is an installation error.  
Revert to UE4 original CPU install. Once you have the engine back to manufacturing setting. In C:\Program Files\Epic Games\UE4.26, drag Luosang’s Engine folder. Hit Replace files and you are set!

---

<div class="post-metadata">

**Author:** ![KienDao\_Vxperia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kiendao_vxperia/32/88709_2.png) [@KienDao\_Vxperia](https://forums.unrealengine.com/u/KienDao_Vxperia)\
**Post date:** [June 8, 2021, 1:12pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2124 "2021-06-08T13:12:15Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/6/f6cfa74c39261bd7dd9c907548cfd3791ccfb4fb.jpeg)  
I have the same issue with the shadow, did you find the solution for that ? Thank you!

---

<div class="post-metadata">

**Author:** ![owenliu66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/owenliu66/32/489582_2.png) [@owenliu66](https://forums.unrealengine.com/u/owenliu66)\
**Post date:** [June 9, 2021, 3:50am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2125 "2021-06-09T03:50:55Z")

</div>

I’m using UE4.25.4, and I ran out of RAM when building lighting with this MOD. I currently have 32G, and my map has about 450k grass and trees. Is this normal, and how much RAM do I need to make it work?

---

<div class="post-metadata">

**Author:** ![Miguel1900](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miguel1900/32/1010694_2.png) [@Miguel1900](https://forums.unrealengine.com/u/Miguel1900)\
**Post date:** [June 9, 2021, 10:39am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2126 "2021-06-09T10:39:45Z")

</div>

Probably you got out of VRAM (GPU’s RAM). But don’t intented to build 450000 trees, even with a NASA computer.

Try to start ‘cuting’ your scene and making a new build, until you get rid of error, and find your limit.

---

<div class="post-metadata">

**Author:** ![kivasu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kivasu](https://forums.unrealengine.com/u/kivasu)\
**Post date:** [June 14, 2021, 11:16am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2127 "2021-06-14T11:16:35Z")

</div>

Hallo, will we be getting the 4.27 gpu lightmass anytime soon?

---

<div class="post-metadata">

**Author:** ![Sanjuan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sanjuan](https://forums.unrealengine.com/u/Sanjuan)\
**Post date:** [June 16, 2021, 2:29pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2128 "2021-06-16T14:29:05Z")

</div>

Is possible 's lightmass 4.26.4 works with Unreal 5?  
I need to bake lightmaps on certain situations with Unreal 5 and default GPU lightmass ins’t working.

---

<div class="post-metadata">

**Author:** ![JOSE\_ABBOUD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JOSE\_ABBOUD](https://forums.unrealengine.com/u/JOSE_ABBOUD)\
**Post date:** [June 21, 2021, 1:31am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2129 "2021-06-21T01:31:56Z")

</div>

Hi there. I’ve been using my GTX 1070 for quite a long time with this compilation of GPU Lightmass on UE 4.25.4 and it was working perfectly. Yesterday I changed the thermal paste of my 1070 processor (that’s all I did). Once I put it back to work, the GPU Lightmass in the editor gives me the message “No Cuda capable device is detected”. I left nothing without trying: driver update, unisntall, install again, made a couple of Verify to the engine version and copied the GPU Lightmass Engine content again, 4.25.4,ect ect ect. Nothing changes. Can’t use the GPU Lightmass anymore now. Same hardware. This is strange. Same message “no cuda capable device is detected”.

---

<div class="post-metadata">

**Author:** ![Douglas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Douglas](https://forums.unrealengine.com/u/Douglas)\
**Post date:** [June 30, 2021, 4:39am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2130 "2021-06-30T04:39:34Z")

</div>

Any news about multi gpu support? GPU 0 and GPU1, not SLI

---

<div class="post-metadata">

**Author:** ![EightAlpha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eightalpha/32/88714_2.png) [@EightAlpha](https://forums.unrealengine.com/u/EightAlpha)\
**Post date:** [July 1, 2021, 4:33am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2131 "2021-07-01T04:33:56Z")

</div>

Hello Guys.

Is it true that the version 4.26.2 only works with a raytrace capable videocard as stated here?  
watch?v=hq1WFFF6iD0

Or I can use it with a GTX 1060?

---

<div class="post-metadata">

**Author:** ![DsyD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DsyD](https://forums.unrealengine.com/u/DsyD)\
**Post date:** [July 2, 2021, 3:34am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2132 "2021-07-02T03:34:49Z")

</div>

Epic’s GPU lightmass needs RTX. This one (Luoshang’s) doesn’t.

---

<div class="post-metadata">

**Author:** ![EightAlpha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eightalpha/32/88714_2.png) [@EightAlpha](https://forums.unrealengine.com/u/EightAlpha)\
**Post date:** [July 2, 2021, 3:51pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2133 "2021-07-02T15:51:19Z")

</div>

Thanks a lot. I suspected that because it works wuth CUDA, but since I’m new in all this, I was confused when I saw the video. I’ve tried and it works fine.

---

<div class="post-metadata">

**Author:** ![Joatseyboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joatseyboy](https://forums.unrealengine.com/u/Joatseyboy)\
**Post date:** [July 6, 2021, 4:05am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2134 "2021-07-06T04:05:18Z")

</div>

Has any one got the Luoshangs GPU lightmass working through swarm as a distributed lightbuild?  
I have the swarm working but it is not distributing the build. Any help with setting this up would be great! My remote pc says available but unassigned.

---

<div class="post-metadata">

**Author:** ![owenliu66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/owenliu66/32/489582_2.png) [@owenliu66](https://forums.unrealengine.com/u/owenliu66)\
**Post date:** [July 11, 2021, 2:21pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2135 "2021-07-11T14:21:12Z")

</div>

I upgraded my computer to 64G RAM and used fewer trees with wider branches. It worked. VRAM isn’t a problem. It only takes about 6G VRAM, and I’m using an rtx2080.

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

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