Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Failed to install Frame Processor JSI bindings when using "enableFrameProcessors": false #2832

Closed
5 tasks done
preventya-dev opened this issue May 1, 2024 · 1 comment
Labels
馃悰 bug Something isn't working

Comments

@preventya-dev
Copy link

What's happening?

As soon as I created a build with "enableFrameProcessors": false the error Failed to install Frame Processor JSI bindings started appearing on app start. I could create another build without the flag and the error dissapeared.

Reproduceable Code

plugins: [
   [
      'react-native-vision-camera',
      {
        cameraPermissionText: 'Allow Preventya Salud to access your camera.',

        // Using this will produce the error:
        // enableFrameProcessors: false
      },
    ],
]

Relevant log output

LOG  Loading react-native-worklets-core...
my-app/app:dev:  LOG  Worklets loaded successfully
my-app/app:dev:  ERROR  system/frame-processors-unavailable: Failed to install Frame Processor JSI bindings!, js engine: hermes 
my-app/app:dev:     at ContextNavigator (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:179997:24)
my-app/app:dev:     at ExpoRoot (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:179969:28)
my-app/app:dev:     at App
my-app/app:dev:     at ErrorToastContainer (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:684009:24)
my-app/app:dev:     at ErrorOverlay
my-app/app:dev:     at withDevTools(ErrorOverlay) (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:683731:27)
my-app/app:dev:     at RCTView
my-app/app:dev:     at CssInterop.View (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:11004:45)
my-app/app:dev:     at RCTView
my-app/app:dev:     at CssInterop.View (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:11004:45)
my-app/app:dev:     at AppContainer (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:87007:36)
my-app/app:dev:     at main(RootComponent) (http://172.31.48.28:8081/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:97800:28)

Camera Device

{
  "sensorOrientation": "landscape-right",
  "minZoom": 1,
  "minFocusDistance": 15,
  "position": "back",
  "supportsRawCapture": false,
  "neutralZoom": 1,
  "supportsFocus": true,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "hardwareLevel": "full",
  "hasTorch": true,
  "maxExposure": 8,
  "supportsLowLightBoost": false,
  "isMultiCam": false,
  "maxZoom": 123.75,
  "formats": [],
  "id": "com.apple.avfoundation.avcapturedevice.built-in_video:0",
  "name": "Back Camera",
  "hasFlash": true,
  "minExposure": -8
}

Device

Iphone 13 Pro Max

VisionCamera Version

4.0.1

Can you reproduce this issue in the VisionCamera Example app?

I didn't try (鈿狅笍 your issue might get ignored & closed if you don't try this)

Additional information

@preventya-dev preventya-dev added the 馃悰 bug Something isn't working label May 1, 2024
@mrousavy mrousavy changed the title Failed to install Frame Processor JSI bindings when using "enableFrameProcessors": false 馃悰 Failed to install Frame Processor JSI bindings when using "enableFrameProcessors": false May 2, 2024
@mrousavy
Copy link
Owner

mrousavy commented May 6, 2024

Thanks for the bug report! I fixed this bug in VisionCamera 4.0.2 馃コ

@mrousavy mrousavy closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants