You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maxximee
changed the title
DIfferent Issues (Android and iOS) with useSkiaFrameProcessor
Different Issues (Android and iOS) with useSkiaFrameProcessor
Feb 17, 2025
Note 1 : the sample repo only shows the crash and black screen on Android, it doesn't include the iOS yet.
I'll add the ios build later, but I can reproduce the memory leak with my productive app.
The iOS bug appeared in skia "1.11.x", it's working fine with "1.10.2",
Note 2 : Same result on android and ios with "newArchEnabled"
Description
Android
Samsung S8 with android 9:
Exception:
ERROR Frame Processor Error: Exception in HostFunction: Failed to convert NativeBuffer to SkImage!, js engine: VisionCamera
Some other devices, for example Pixel 9 with android 15:

Black Screen:
iOS
Memory Leak, memory increase until app crashes:
https://youtube.com/shorts/kShery3nVW0
React Native Skia Version
1.11.7
React Native Version
0.76.7
Using New Architecture
Steps to Reproduce
Start sample app linked below, just add useSkiaFrameProcessor to vision-camera.
Relevant dependencies:
"react-native-vision-camera": "4.6.3"
"react-native-worklets-core": "1.5.0"
Snack, Code Example, Screenshot, or Link to Repository
https://github.com/maxximee/skiaIssues
The text was updated successfully, but these errors were encountered: