Lighting is broken on packaged game

When I package my game, the lighting takes a big dive in quality. It seems like a bunch of the shaders aren’t being compiled either.

Packaged game:

Editor:

Does anyone know what’s likely to be causing this?

Did you build your lighting before?

Yes, I built the lighting. I also compiled all the shaders. They seem to be getting lost when being packaged. Not even dynamic lighting appears to be working.

what are your packaging settings, any warning in the log?

Development build, iterative, etc. I rebuilt the lighting at medium rather than preview and it seems to be packaging it now. I still have a bunch of broken shaders for speedtrees that were left out though:

I’m also seeing a fair bit of this, which I think is related:

MapCheck:Warning: Warning InstancedFoliageActor_0 17 element(s) with zero triangles in static mesh 'Conifer04' 
MapCheck:Warning: Performance Warning InstancedFoliageActor_0 Large actor receives a pre-shadow and will cause an extreme performance hit unless bCastDynamicShadow is set to false. 
MapCheck:Warning: Performance Warning InstancedFoliageActor_0 Large actor receives a pre-shadow and will cause an extreme performance hit unless bCastDynamicShadow is set to false. 
MapCheck:Warning: Warning InstancedFoliageActor_0 23 element(s) with zero triangles in static mesh 'Conifer01' 
MapCheck:Warning: Performance Warning InstancedFoliageActor_0 Large actor receives a pre-shadow and will cause an extreme performance hit unless bCastDynamicShadow is set to false. 
MapCheck:Warning: Warning InstancedFoliageActor_0 23 element(s) with zero triangles in static mesh 'Conifer02' 
MapCheck:Warning: Warning InstancedFoliageActor_0 InstancedFoliageActor_0 : Static mesh actor has NULL StaticMesh property 
MapCheck:Warning: Warning InstancedFoliageActor_0 InstancedFoliageActor_0 : Static mesh actor has NULL StaticMesh property 
MapCheck:Warning: Warning InstancedFoliageActor_0 InstancedFoliageActor_0 : Static mesh actor has NULL StaticMesh property 
MapCheck:Warning: Warning InstancedFoliageActor_0 17 element(s) with zero triangles in static mesh 'Conifer04' 
MapCheck:Warning: Performance Warning InstancedFoliageActor_0 Large actor receives a pre-shadow and will cause an extreme performance hit unless bCastDynamicShadow is set to false.

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

Thank you.