Light Function not working in PIE

I’m using a light function to render clouds on a landscape. The rendering of the light function works fine in the realtime editor screen, but not when playing in the editor.

I’ve made a video for demonstration: Dropbox - LightFunctionProblem.avi - Simplify your life

As you can see the cloud shadows are visible in the editor screen, but vanish as soon as I press the play button. Furthermore, I can only display the light function when I manually change a variable of the directional light component through the editor interface. If I try to change a variable through blueprints the light function still does not render.

Hello ,

I was unable to reproduce your issue on our end. I have a couple of questions to help me narrow down the issue you are experiencing.

  1. Are you able to reproduce this issue in a new project?
  2. If so, could you provide a detailed list of steps so that I can reproduce this issue on our end?

Thanks!

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Hi ,

I was able to resolve the problem. I used a wrong MaterialParameter string which resulted in a wrong sun direction value. Since this isn’t an engine bug this question post can be deleted. Thank you for your help and sorry for any inconveniences.