[bug] Malformed marker payload when marker name is a number
See original GitHub issueTell us about your environment
- Browser and Browser Version: Chrome 100.0.4896.127 on Windows 11
- After Effects Version: Don’t know. Can investigate if needed.
What did you do? Please explain the steps you took before you encountered the problem.
- Obtain a JSON animation file containing some composition markers, each with a duration, which are named as numbers:
1,2,3 - Integrate lottie-web in vanilla JS page and programmatically load animation into
animatedItem. Autoplay is false, loop is false. - Upon some user event, programmatically play a specific marker segment through
animatedItem.goToAndPlay('1'). At this point, also set loop to true
What did you expect to happen? Requested marker segment should play in loop
What actually happened? Please include as much relevant detail as possible. The whole animation plays in loop.
Please provide a download link to the After Effects file that demonstrates the problem. https://gist.github.com/BrainCrumbz/ce3b2cda9133c3f97d27e79ec2641391#file-marker_20220426_001_numbers_only-json
In case it might help, we’ll share here below some details of our investigation.
TA
Issue Analytics
- State:
- Created a year ago
- Comments:9
Top Results From Across the Web
[Wireshark-bugs] [Bug 8266] post-dissector fields not saved in ...
These packets have no payload (normal for the protocol in question) and are throwing a 'Malformed Packet' exception.
Read more >gson throws MalformedJsonException - java - Stack Overflow
GSON throws that particular error when there's extra characters after the end of the object that aren't whitespace, and it defines ...
Read more >Server responds with empty packet during session negotiation ...
Server acknowledges, then sends a response, which is essentially empty… Packet Length: 1 Packet Number: 2 EOF marker: 254. And that immediately causes...
Read more >MySQL Bugs: #93895: Prepared statements (server) return no ...
ODBC_BINDPARAM_T ; typedef struct _ODBC_USER_T { char Name ... MySQL Protocol Packet Length: 7 Packet Number: 7 EOF marker: 254 Warnings: 0 ...
Read more >Error Responses - Amazon Simple Storage Service
Error Code Description HTTP Status Code
AccessControlListNotSupported The bucket does not allow ACLs. 400 Bad Request
AccessDenied Access Denied 403 Forbidden
BucketAlreadyOwnedByYou 409 Conflict (in all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey thanks for the detailed info. I’ve been looking into it and this indeed fixes markers configuration. I think that it can also be solved by checking
isNaN(_markers[i].cm)If it is false, set the payload manually.
But the goToAndPlay and goToAndStop methods need an update as well since they are assuming that anything that can be cast as a Number is a frame and not a marker.
I can work on fixing it, but let me know if you want to address both issues together.
What marker name values do you think should be used as test cases? Will try to list some here:
Are there more?