software-mansion / software-mansion/react-native-reanimated

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

Open
#8,322 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Missing info Missing repro Platform: iOS
Dominant language
TypeScript
Stars
11k
Forks
1.5k
Avg merge
3d 4h
Merged PRs (30d)
172

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash at the valueUnpacker_reactNativeReanimated_valueUnpackerTs1 entry point with React Native 0.81.4, Reanimated 3.19.0, Hermes, and iOS. Done means importing a Reanimated hook or animation no longer crashes on startup in the reported debug configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.