Why is my Skylight not showing/updating up when I choose set new time on my timeline?
I have a day/night cycle Blueprint currently set up using a timeline controlling my sunlight and ambient (Skylight) light. On my timeline "0" is midnight and it is 900 seconds long, making it a 15 minute long day cycle. My lights are all set to movable and I have my skylight set to cast no shadows because I just need it to keep my scene and shadows from being too dark. I have floats and color tracks in the timeline for light intensity and color of each light.
So if I start the timeline from 0 the whole cycle works great and my lights update as necessary. If I choose a new time on the timeline and start from a new time the skylight does not seem to update visually but according to my string being printed it does show the intensity updating correctly.
If I start the timeline out before 190 seconds, which is just before the sunrise then the skylight seems to never put out any light... ever. If I start around 195 then the skylight is putting out light and seems to work...
My whole point for setting a new time is for when a saved game is loaded, the time of day is accurately set for when the game was saved.
asked Nov 25 '15 at 03:40 PM in Blueprint Scripting
This may not be the best fix but I found that if put a 1 second delay before I send the new time float then it works... May be a timing issue somewhere??? I would like to still leave this open for discussion for an actual solution instead of a band aid.
Follow this question
Once you sign in you will be able to subscribe for any updates here