Hello, please I need some help.
After converting my project from 4.7 to 4.9, the light building gets stuck at 99%. Before doing that, light building took aprox 2-3 minutes (its a simple scene).
I have tried:
Leaving it for 3 hours building the lights.
Building lights in Production and Preview quality.
Deleting groups of actors in the scene to spot if one is causing trouble (went as far as deleting every actor and lights wont build).
Creating a new 4.9 project and building lights, builds OK.
Extra info:
Projects uses dynamic directional light, no static lights (as for now, can and probably will change in the future)
It’s a VR project using Oculus 0.7 SDK.
Not sure if necessary but: Windows 8.1, i7-4930k, GTX 780, 32 gb ram.
Just so you’re aware, if you’re using a fully dynamic (movable) light Building lighting is not really going to affect anything since movable lights don’t bake lightmaps.
You really shouldn’t need to build lighting at all. There are other things that are building when this process happens though that may be causing a hitch, but I’m not sure off-hand. Try first using the guide above and see if that helps. If not, for the time being, while you’re not using static lighting you can go to the World Settings > Lightmass > and put a checkmark in the box for Force No Precomputed Lighting. This will disable all static lighting. Then try to rebuild. If it’s still getting hung at 99% there is potentially something else causing it to do so and not Swarm Agent.
I succeeded to resolve it by changing the settings of my LightmassImportantVolume. At first I made it bigger with scale ( Transform ), and my light building was sticking like you. I tried to put the scale to ( 1.0, 1.0, 1.0 ) and make the volume bigger with the Brush Settings. Since this moment, my lights build successfully.
I put a picture with my new settings with scale to 1 and brush settings changed.
Maybe it is just a coincidence, hope it can help anyway.