Recent After Effects updates can cause issues with exporting animations to JSON via the Bodymovin extension, which Webflow uses for Lottie file integration. Here's how to resolve the issue.
1. Update Bodymovin to the Latest Version
- Open After Effects and go to Window > Extensions > Bodymovin.
- Click on the gear icon in the Bodymovin panel to check the version.
- If it's outdated, download the latest version of Bodymovin from the LottieFiles plugin page or via the ZXP Installer.
- Restart After Effects after the update.
2. Ensure Compatibility With After Effects
- After major After Effects updates (e.g., v24+), older Bodymovin versions may fail.
- Bodymovin currently has the best compatibility with After Effects 2023 (v23.x). If necessary, install that version via Creative Cloud > Other Versions to ensure stable Lottie exports.
3. Check for Expression Errors
- Expressions that use deprecated syntax (like old-style
loopOut()
or time-based math) may break with new AE versions. - Review your animation layers for expression errors indicated by yellow warnings in the Timeline panel.
- Fix or disable problematic expressions before exporting.
4. Adjust Bodymovin Export Settings
- In the Bodymovin panel:
- Choose the correct Composition.
- Set an Output folder.
- Enable "Include in JSON" for assets only if needed.
- Turn off unused options like "Demo," "Glyphs," or "Hidden layers" to reduce risk of errors.
- Click Render to generate the
.json
file.
5. Avoid Unsupported Features
- Bodymovin does not support these features:
- Effects (e.g., blur, glow)
- 3D layers
- Expressions using plugins or scripts
- Matte/Modes that aren’t supported
- Flatten or convert layers where needed.
6. Test the Lottie File in Webflow
- Go to Webflow Designer > Assets and upload the JSON file.
- Drag a Lottie animation element onto the canvas and assign your file.
- Confirm the animation runs in Preview mode.
Summary
To fix Bodymovin JSON export issues after an After Effects update, update the Bodymovin plugin, avoid unsupported features, and if necessary, roll back to After Effects 2023. This ensures full compatibility with Webflow’s Lottie framework.