[iOS] "Unable to recognize flag: USE_ANIMATION_BACKEND" from JS → EXC_BAD_ACCESS (SIGSEGV) (RN 0.83.10 + Reanimated 4.5.5 + Worklets 0.10.1)
Author: EvandozCreated Sep 23, 2026Updated Sep 24, 2026
LabelsPlatform: iOSRepro providedMissing infoargent-cloud
Description
On iOS (New Architecture), with [email protected] + [email protected] on React Native 0.83.10 — both within the documented peer ranges (reanimated peers: react-native 0.83 - 0.86, react-native-worklets 0.10.x - 0.11.x; worklets peers: react-native 0.83 - 0.86) — the JS side asks for a static feature flag that the compiled native side does not recognise, and the app then dies with a SIGSEGV.
[Error: Exception in HostFunction: Unable to recognize flag: USE_ANIMATION_BACKEND](repeated 25× within ~2.5 minutes)
Crash
"exception": {"codes":"0x0000000000000001, 0x000000005aac7443", "type":"EXC_BAD_ACCESS",
"signal":"SIGSEGV", "subtype":"KERN_INVALID_ADDRESS at 0x000000005aac7443"}
"termination": {"code":11, "namespace":"SIGNAL", "indicator":"Segmentation fault: 11"}
"faultingThread": 13Steps to reproduce
- Upgrade
react-native-reanimated4.2.1 → 4.5.5andreact-native-worklets0.7.2 → 0.10.1(nothing else changed). pod install(log:Installing RNReanimated 4.5.5 (was 4.2.1)) and rebuild the iOS Debug dev client.- Launch the app and log in; navigate to a screen containing a list and a few animated/Reanimated components.
- Within seconds the
Unable to recognize flag: USE_ANIMATION_BACKENDerrors start; the process dies shortly after.
Reverting to 4.2.1 + 0.7.2 (same lockfile, same native rebuild procedure) makes the errors disappear immediately — so it is bound to the 4.5.5/0.10.1 pair, not to the app code.
USE_ANIMATION_BACKENDis listed in the JS-side defaults in 4.5.5 (node_modules/react-native-reanimated/src/featureFlags/staticFlags.json, valuefalse), so the JS/native flag sets appear to disagree somewhere between the podspec-generated flag string and the native lookup.- Our only override in
package.jsonisreanimated.staticFeatureFlags.DISABLE_COMMIT_PAUSING_MECHANISM = true(unrelated Android 16 workaround); removing it does not change the errors. - Caveat for triage: this project is on Expo SDK 55 (which pins the 4.2.x line), so this combination is ahead of the SDK's expected versions — if that is the cause, the flag mismatch may still be worth guarding with a clear error instead of a segfault.
Reanimated version
4.5.5 (broken) / 4.2.1 (works)
Worklets version
0.10.1 (broken) / 0.7.2 (works)
React Native version
0.83.10 (New Architecture / Fabric)
Platforms
- iOS
JavaScript runtime
- Hermes
Workflow
- Expo (prebuild / dev client)
Architecture
- New Architecture (Fabric renderer)
Build type
- Debug app
Device
- Simulator (iOS 26.3, iPhone 17 Pro)
Acknowledgements
- I have searched for similar issues and believe this is a new one.
Source: software-mansion/react-native-reanimated