I wasn’t having any issues before I activaded Generate Mesh Distance Fields on my rendering project settings. Now everytime I try to build light it crashes between 40-50% on the exporting lighting data step.
At the moment, I’m not able to reproduce this on my end.
If you disable Generate Mesh Distance Fields in the Project Settings does the crash still happen?
Also, is this happening in a default scene when you create a new level or in a new project?
To understand your setup better I need to know:
You mention that you’re building lighting. Are you using Dynamic lighting for you scene with Ray Traced Shadows or are you still using Static lighting and using DFs for other purposes (AO, Materials, Particles collision, etc)?
if I disable Generate Mesh Distance
Fields the crash goes away.
It is happening in a scene I was already
working on, I am using a movable
direct light and some static spot
lights.
I’m pretty new to Unreal 4 (i’m an architect trying to get realistic viz) so i’ll try to explain my setup as best as I can.
I have a small building in a not so big forest. My sun has dynamic light (foliage has static shadows disabled, I also have the UltraDynamicSky setup from the marketplace) and the interior rooms have static spotlights on them with dynamic and static shadows enabled. I was trying to use ray traced shadows that is where I stumbled upon the Generate Mesh Distance option.
After I posted I disabled it and I think it works fine, I was trying to figure out if the generate mesh distance option would improve overall perfomance on my project.
At the moment I’ve not been able to reproduce this crash, and while I’m not sure that the Marketplace content should really matter in this type of case I don’t have access to use it as a test basis either.
There may be something between the size of the scene that is setup with interior and exterior lights, but I’m not sure I would be able to reproduce that on my machine. If you happen to find more reproducible steps in a sample or blank project I’d be happy to take a look and try to reproduce on my end.
Yeah If I stumble upon this crash again in a smaller scale project or find a way to make it happen I’ll post it here. For now I just disabled it and my scene builds light fine and the performance is not all too bad.