-
Notifications
You must be signed in to change notification settings - Fork 481
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash using ViroCamera as UI constraint #755
Comments
Is this issue resolved? |
I am facing a similar issue, same error code in the same file with the same function getJSIEnv, ASSERTION FAILED |
+1 |
#755 (comment) and set switchCamera to true on componentDidMount() |
Has this been solved? I tried: ViroCamera ViroARCamera onCameraTransformUpdate. The cameras crash the testbed upon loading, and when they do work (at random) they are not working with the onCameraARHitTest (as if another camera launches the ray test and not the active camera) Is there any other way to do UI components that move with the camera? |
This is how I fixed the crash Use viroAppProps prop of the ViroXXSceneNavigator to pass camera state value which became true after a timeout
Check the camera value for rendering ViroCamera
|
Environment
Please provide the following information about your environment:
Description
Crash directly when using ViroCamera as UI constraint.
Reproducible Demo
Complete reproducible demo https://github.com/beauvaisbruno/virobugs/tree/virocamera_crash
Logcat
logcat.log
errorLogcat.log
object.zip
The text was updated successfully, but these errors were encountered: