Luoshuang's GPULightmass

watch?v=FMdv4hlxx6A&list=PLRyOkrsJ4LKoszl3R-xnZIL4WgciQ8QBT&index=1

I hope it helps you …

Hi! I have a problem and I don’t know how to solve it. help me please.
I build scene (one level and 6 sublevels) in 4.25.4 with GPULightmass from 4.25.3 and 4.25.4, and got a successful result. And then I Del 2 SM Actors from scene, and now I have an error when I try to start the build. GPULightmass starts and ends almost immediately. In swarm agent I see:

9:44:08: Processing…
9:44:10: GPULightmass Kernel: Importing mesh: 6705120 vertices, 4634260 triangles
9:44:11: Assertion failed: primitiveCount > 0, file , line 61
9:44:11: [MaintainConnections] Detected dropped local connection, cleaning up (01283227)
9:44:11: [CloseConnection] Closing connection 01283227 using handle 01283227
9:44:11: [CloseConnection] Connection confirmed for disconnection 01283227
9:44:11: [CloseConnection] Connection disconnected 01283227
9:44:11: [GetMessage] Safely returning to 01283227 with no message
9:44:11: [Job] Job has failed! Job executable didn’t exit cleanly. Exit code: -1073740791
9:44:11: [CloseConnection] Closing connection 3AF1A2AE using handle 3AF1A2AE
9:44:11: [CloseConnection] Connection confirmed for disconnection 3AF1A2AE
9:44:11: [CloseConnection] Closing orphaned Job (B0DBDC4B-4B03659C-02786396-9AE42EA3)
9:44:11: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:11: [MaintainConnections] Local connection has closed (01283227)
9:44:11: [MaintainConnections] Removed connection 01283227
9:44:12: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:12: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:13: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:13: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:14: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:14: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:15: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:15: [MaintainConnections] Connection 3AF1A2AE is DISCONNECTING
9:44:16: [CloseConnection] Connection disconnected 3AF1A2AE
9:44:16: [GetMessage] Safely returning to 3AF1A2AE with no message
9:44:16: [MaintainConnections] Local connection has closed (3AF1A2AE)
9:44:16: [MaintainConnections] Removed connection 3AF1A2AE
9:44:16: [MaintainConnections] All connections have closed

Help me please. I found how people wrote about “Assertion failed: primitiveCount > 0”, but did not find a solution

Thank you!

Hello! I have a problem in UE4 4.25.4 GPU lightmass. Each time I import a FBX or something from Marketplace, GPU lightmass build stops working. Could you refer me some links or solutions how to fix it.

The FBX i use are made in blender by Poliigon.

Hii I installed GPU lightmass in UE4 4.25.4 but when i bake the light black spots apper on the objects, It’s weird because they only appear in the shadows.
Any idea what it might cause??
Thanks

heck that there is no geometry overlapping, also the lightmass map sizes. Did you used auto unwraping for that geometry?? sometimes some Autounwraping will divide the geometry in million of small polygons, you need to avoid that, you need to get a little lightmaps as possible a good unwrapping will make the baking better.

These are assets taken directly from quixel and in CPU I don’t have any problem, I have also discovered that this problem only happens in the static meshes that have LODs and it seems that if I move away, the black spots gradually disappear, I think it has to do with LODs but I don’t know what could be, because with CPU lightmass goes well.

Have you tried with previous UE4 versions? I noticed some changes on GPUL results for UE 4.25, and I decided to not use this version anymore. Instead, I use 4.23 or 4.24.

Thank you So much

Hi! I have this problem. “an illegar memory access was encountered” before explained whit -200 MHz in the videocard memory, but, don´t worked for me, i tried reinstall all but nothing

. Please help.

I have a GTC 1060 6Gb and AMD ryzen 2700x

YOu have 6 Gb of memory, the 200 Mhz is the speed, you need to check if your scene is less than 6 Gb.
Also clean the cach of Swarm, just in case.
You may need to increate the TDR just in case,

Y clean my cach of Swarm and put my TDR in 120 but nothing. In the Swarm Log y saw this

This error usually shows up when you run out of VRAM, you only have 6, and I say only because for complex scenes or even middle since scenes 6 Gb won’t be enough. You need to consider not only the poly count but also shaders, textures, lightmass maps, and others. While rendering you will see spikes of memory and constantly rising graph as the buffer saves the textures.
Try baking smaller chuncks of the scene to see how much you can process with that card.
Also do you have high polygon meshes?? sometimes is not how many polygons but if the geometry is messy, like many folds or wrong bending that creates strange baking. For example a bed cover or a too complex hair payers.
Can you share screen shots of your scene and shaders?

Whay i get out of memory >> my Vega is RTX 2080 Super
Its Big Problem …
My Scene Is Very Basic Shop

Does anyone try 6800XT? Is RDN2 supported in UE 4.26 GPU lightmass?

Who knows why this is happening? I installed versions 4.25.4 and also tried 4.25.4. in both versions it’s worth it, I even waited 1 hour for one wall just for the test. I have Unreal Engine 4 program version 4.25.4

Does anybody know a work around this issue I’m having with indirect lighting? It seems that I’m having indirect lighting artifacts in my scene. When I’m far away from the object a “banding” artifact is very apparent. And when I get closer to the object, the banding disappears. I’m currently running GPU lightmass on 4.25 with raytraced reflections only, and an HDRI backdrop blueprint witht the skylight mobility set to stationary.

maybe is related to this?

Thanks, that seems to do the trick, I used the lightmap viewer / debugger from the Marketplace to edit the exact lightmap I’m trying to fix!!!

any help … i still have out of memory when i Build The GPU Lightmass

UE4.26 preview7 Open RayTracing, start GPU Lightmass plugin, UE4 crashes, please help…

Fatal error: [Filel error:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 5232] Failed to compile global shader FStationaryLightShadowTracingRGS . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.

UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_D3D12RHI
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll