[Bug report]Bp_Sky_Sphere broken went setting sun pos during play

Hey there,

It’s not so broken but it doesn’t work properly. Anyway here’s the issue.
The BP_Sky_Sphere has a bool “ColorsDeterminedBySunPosition”, which works on construct, however when using “UpdateSunDirection” it ignores this bool and sets colors anyway.

This is an Epic provided blueprint.

Here’s the image of what i mean. The branch wasn’t there so it sets the color during play when you call this function rather than ignoring it and just setting sun position. (Function UpdateSunDirection in BP_Sky_Sphere)

Hi Panda Studios,

What changes are you making to determine whether the boolean is firing or not? Are there any other locations within the blueprint the bool may be set? What steps can I take to reproduce this error on my end?

To reproduce this you need to manually set the Sun direction for creating a time of day. Doing this requires the function “UpdateSunDirection” and in there it has no branch to check the bool “ColorsDeterminedBySunPosition” which means it overrides the colors anyway.

All that needs to be added is to add that branch and the issue is fixed.

Hi Panda Studios,

After looking into this I have determined that it is working as intended. The original purpose of the function is to update the sky sphere in relation to the sun position, which most often utilizes the functionality to change colors/add stars, etc. It is recommended, if you do not want this functionality, to add the branch as you have done or remove the additional, unnecessary functionality for your purposes.