The world:GetTimeOfDay() result can grow out of sync when in the editor.
How do you cause this bug?
Set the Day Length to 1 minute in the world properties
Install the World Time Bug package
Drag the Bug folder onto the User template
Preview the game normally, wait a few seconds, then stop the preview
On the top right of the editor, click the cog, then select “Preview on a new server”
Preview the game, wait a few seconds
Repeat steps 3 through 5 as many times as necessary to reproduce the problem
Please note: as far as I can tell, this is only happening on the new server. You won’t see it without the “Preview on a new server” checked, however I’m also pretty sure you need to preview normally at least once to see it.
Hi Cereal, I have tried this around 6 times and cannot get this to reproduce. Can you confirm the rough amount of reproduction attempts you had? This is more that I want to be accurate so enough attempts are made.
I’m tried previewing a new server again, and still not reproduced this on the copy I took. Does this also happen on the published version if I was to create a new server? i.e. Play the game when there is no server live with it on.