Hello everyone, I am facing an issue regarding building lighting for maps. UE4 says LIGHTING NEEDS TO BE REBUILT, but if I try to build lighting for the map, it starts, then immediately errors out at 0%, saying “Lighting build failed.”
I am on MANJARO 5.2.2-1 (which is basically a distro based on arch linux). I’m pretty sure I have all mono dependencies… Though I’m not 100% on that… I have mono 5.20.1.19-1, mono-tools 4.2-2 and mono-addins 1.3.3-2 from the official manjaro repository.
I built UE 4.23 from source (but it did this on 4.22 also). I followed the guide in the docs, and the engine built successfully, and for the most part I don’t see anything else that’s buggy or not working apart from building the lighting.
I also tried it on my laptop (same distro as my PC), it does the same, output is the same.
Output Log inside UE4:
LogConfig: Setting CVar [[r.TranslucencyLightingVolumeDim:64]]
LogConfig: Setting CVar [[r.TranslucencyLightingVolumeDim:64]]
LightingResults: New page: Lighting Build
LightingResults: New page: Lighting Build
LightingResults: New page: Lighting Build - 2019. júl. 31. 6:27:56
LogStaticLightingSystem: Running Lightmass w/ ImmediateImport mode ENABLED
LogStaticLightingSystem: Running Lightmass w/ ImmediateProcess mode ENABLED
LogStaticLightingSystem: Running Lightmass w/ Sorting mode ENABLED
LogStaticLightingSystem: Running Lightmass w/ Mapping paddings ENABLED
LogStaticLightingSystem: Running Lightmass w/ Mapping debug paddings DISABLED
LogStaticLightingSystem: Warning: Failed to build lighting!!! Lighting build failed.
MapCheck: Error: WorldSettings_1 Maps need lighting rebuilt
Console output when trying to start SwarmAgent by itself (from [UE4ROOT]/Engine/Binaries/DotNET/SwarmAgent.exe):
Unhandled Exception:
System.TypeLoadException: Could not resolve type with token 01000047 from typeref (expected class 'System.Deployment.Application.ApplicationDeployment' in assembly 'System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 01000047 from typeref (expected class 'System.Deployment.Application.ApplicationDeployment' in assembly 'System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')