Marc Rousavy

Results 1816 comments of Marc Rousavy

Btw.; here's an explanation and a fix: https://github.com/margelo/react-native-worklets-core/issues/136

This is not related to VisionCamera, but rather about Reanimated. If you do not use Reanimated, `runAsync` works fine. If you do use Reanimated, you need to enable `processNestedWorklets` in...

ArrayBuffers can't be shared (right @chrfalch?), do the resize also in runAsynx.

Yeah - try to move the resize call also into runAsync.

From reading the error message, it looks like the reason the JNI class cannot be found in `runAsync` is because there is no JNI Environment set up on that specific...

Hey @rodgomesc and @Cosmorider - a discord user posted a SIGABRT stacktrace with symbols attached so I was able to figure out that this came from `JVisionCameraScheduler` - can you...

@MSchmidt can you try to add a ```cpp facebook::jni::ThreadScope scope; ``` right **at the top** of this method: https://github.com/mrousavy/react-native-vision-camera/blob/02bc8a979c192707efc5d6e1f424812e36f6369f/package/android/src/main/cpp/frameprocessor/java-bindings/JFrameProcessor.cpp#L35-L45 ? Let me know if that works for you

Hey, why did you open a question for this? This is clearly a bug report, you even have an error message. I think I know what's happening here, but I...

Maybe this fixes your issue? https://github.com/mrousavy/react-native-vision-camera/pull/1972