Stationary directional light not working in 5.4

I found the solution it was BUG in unreal code in 5.4.1. Some goodfellow found it and changing the lines worked. weeks of work finally solved.
here is the link: