[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": 13

Steps to reproduce

  1. Upgrade react-native-reanimated 4.2.1 → 4.5.5 and react-native-worklets 0.7.2 → 0.10.1 (nothing else changed).
  2. pod install (log: Installing RNReanimated 4.5.5 (was 4.2.1)) and rebuild the iOS Debug dev client.
  3. Launch the app and log in; navigate to a screen containing a list and a few animated/Reanimated components.
  4. Within seconds the Unable to recognize flag: USE_ANIMATION_BACKEND errors 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_BACKEND is listed in the JS-side defaults in 4.5.5 (node_modules/react-native-reanimated/src/featureFlags/staticFlags.json, value false), 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.json is reanimated.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