[4.6 Preview] Crash on Build Lighting

I compiled the 4.6 Preview engine and created a blank C++ project. Created a small level and tried Build and it crashes. The crash occurs in Lightmass.cpp in line 2244 in the FLightmassProcessor constructor with the assert ( check(&Swarm != NULL); ) and Swarm is null. Did I make a mistake when compiling the engine ?


When you build the solution, the lightmass project isn’t automatically built as well. Right click the UnrealLightmass project and choose build.

If that still doesn’t work, I’ve sometimes had to rebuild UnrealSwarm as well. UnrealSwarm isn’t included in the base solution for some reason, so find the project under Engine\Source\Programs\UnrealSwarm.

Thanks cmartel !