just wanted to put this here to see if anyone else has had the same problem and knows more about it. I can’t really do a bug report because I don’t know how to reproduce.
In one of my several maps/levels the moving static mesh objects turn out black when I play a packaged version of the game. It works fine in PIE.
The objects Do get light from the single directional ‘stationary’ light but not at all from the baked volumetric indirect light.
I have tried things like switch light as static on and off. Setting the ‘Use with static Lighting’ option on the material on and off. Re-creating the object and re-baking the lighting.
My moving skeletal mesh characters work fine.
Nothing would make the static mesh objects become lit.
Then when I thought I’d try to take a look at the light samples themselves using the commad prompt instruction ‘show IndirectLightingCache’ it all started to work!
But I didn’t see any light sample points.
So now I have a command line node in my Level blueprint BeginPlay with that instruction and the lighting works.
I don’t like it but it works and I can’t think of what could be the real cause and solution.
Has anyone else seen this and know what’s going on?
EDIT: Actually the problem has come back. It works more often with that command it seems as before it would never work. I will try a little delay or something.