Get Property Changed Signal("ClockTime") is not firing

  • Describe the bug. Describe what is happening when the bug occurs. Describe what you would normally expect to occur.

GetPropertyChangedSignal(“ClockTime”) does not fire when Lighting.ClockTime is changed.

  • How often does the bug happen (Everytime/sometimes/rarely)? What are the steps that reproduce the bug? Please list them in very high detail. Provide simple example places that exhibit the bug and provide description of what you believe should be the behavior.

Happens every time.

  • Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.

Main build/site.

  • Would a screenshot or video help describe it to someone? If so, post one.

  • Anything else that you would want to know about the bug if it were your job to find and fix it.

Currently you can “fix” this bug by listening on TimeOfDay instead of ClockTime but this is a tad confusing for people who are new to the platform etc (and it isn’t noted anywhere if this behaviour is intentional).

Example place can be found here ClockTime.rbxl (14.2 KB)

(I think @TheGamer101 is/was working on GetPropertyChangedSignal?)

Edit: the title is weird due to new(?) Discourse title limitations…

It’s likely that this isn’t specific to GetPropertyChangedSignal and this property just doesn’t fire the Changed signal at all. Does listening to Lighting.Changed work?

2 Likes

Lighting.Changed works because TimeOfDay gets updated when you change ClockTime. So I assume that this is to avoid “double fires” on .Changed?

1 Like

I checked if it fired when using Lighting.Changed, and it doesn’t fire that either. It’ll fire TimeOfDay, but not ClockTime.

Changing CFrame fires .Changed events for Position and Rotation so if that is the reason it’s inconsistent with the rest of the API.

1 Like

My fault. I’ll add it soon.
Edit: This change will happen after next mobile force upgrade. You can listen to TimeOfDay before that.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.