Skip to content

Cannot read property 'bind' of undefined crash in valueUnpacker (Reanimated 3.19.0 + React Native 0.81) #8322

@andi-azamuddin

Description

@andi-azamuddin

Description

After upgrading to React Native 0.81, apps using Reanimated 3.19.0 crash immediately on iOS startup with the following runtime error:

libc++abi: terminating due to uncaught exception of type facebook::jsi::JSError: Cannot read property 'bind' of undefined

TypeError: Cannot read property 'bind' of undefined
    at valueUnpacker_reactNativeReanimated_valueUnpackerTs1 (valueUnpacker:1:875)

Steps to reproduce

  1. Use React Native 0.81 with Reanimated 3.19.0.
  2. Ensure Hermes is enabled (default).
  3. Import any Reanimated hook or animation (e.g. useAnimatedStyle or withTiming).
  4. Observe the crash upon fresh install and run with the errorCannot read property 'bind' of undefined.

Snack or a link to a repository

NA

Reanimated version

3.19.0

Worklets version

NA

React Native version

0.81.4

Platforms

iOS

JavaScript runtime

Hermes

Workflow

None

Architecture

None

Build type

Debug app & dev bundle, Debug app & production bundle

Device

iOS simulator

Host machine

macOS

Device model

iPhone 16 Plus

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Missing infoThe user didn't precise the problem enoughMissing reproThis issue need minimum repro scenarioPlatform: iOSThis issue is specific to iOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions