Development / ROBLOX
Roblox animation marker not firing: check GetMarkerReachedSignal
Verify the event name, published asset and the track you actually play. Diagnose both missing and repeated callbacks.
Use one easy-to-see marker #
Choose a short test animation of a door opening. Put a DoorChime event near the middle and log a marker to Output first. That isolates the timeline event from audio playback, asset permissions or the real door's behavior.
Check the event track and name #
Open the event track in Animation Editor and confirm that you added an event marker. Copy DoorChime from the event settings. A pose or keyframe name is different from the marker name. If a callback needs context, set a short Parameter and inspect the string the callback receives.
Load the current animation resource #
Publish the version you intend to test and verify the AnimationId used by the game. Animation Editor can preview a local change while your script still loads another asset. If you see movement with no event, verify the asset before moving the handler between scripts.
Connect to the same AnimationTrack before Play #
Load the Animation once on the intended Animator. On the returned AnimationTrack call GetMarkerReachedSignal with DoorChime, then connect the handler before Play. Another LoadAnimation call creates another track. If you play one track and listen to another, movement can be visible without a log from your handler.
Distinguish repeat callbacks from an early stop #
Play once without a loop and let playback cross the marker. Repeat several starts and check that you did not attach more handlers. Two markers with the same name or a loop can produce repeated events intentionally. Stopping before DoorChime is the control case in which no marker should be reported.
Restore the intended effect and test again #
When the callback works, use it for the door chime or a visual highlight on the client. Keep server verification separate for rewards and durable progress. Test the new track after a respawn if the Animator is replaced. Log the asset version, client, and number of events for a normal playback.
| What to check | Expected result |
|---|---|
| Test animation | One DoorChime marker |
| Event track | Name and parameter checked |
| Game asset | AnimationId matches the intended version |
| Play call | Handler attached first to the same track |
| Repeat and stop | Event count follows the test |
| Effect and respawn | Current track checked again |
Original sources
Roblox Creator Hub · Animation eventsRoblox Creator Hub · GetMarkerReachedSignal
Roblox Creator Hub · Animator.LoadAnimation

