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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't go back from a screen containing ViroARSceneNavigator on iOS. #317

Open
3 tasks done
astrolinux opened this issue Nov 27, 2024 · 3 comments
Open
3 tasks done

Comments

@astrolinux
Copy link

astrolinux commented Nov 27, 2024

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: iOS version (17.7.2)
  3. Version: ViroReact version 2.41.6 and React Native version 0.76.1
  4. Device(s): iPad

Description

Can't go back from a screen containing ViroARSceneNavigator on iOS.
image

Reproducible Demo

Put a simple ViroARSceneNavigator inside the second screen of a stack (using @react-navigation/native) and add a Button with navigation.goBack() action. On iOS with new architecture enabled the app stops with a EXC_BAD_ACCESS error on [_contentView removeFromSuperview]; in file /Development Pods/React-RCTFabric/Mounting/ComponentViews/View/RCTViewComponentView.mm

@emrecan-er
Copy link

Any solution ?

@astrolinux
Copy link
Author

Somewhere on the net I found someone who claimed (June 2024) that the latest version of the library did not work with react native 0.74. I therefore discarded the use of react native 0.75 and 0.76 as well as 0.74 and I downgraded to 0.73 and now everything works correctly.

@toanho-sss-global
Copy link

[Session] ARSession <0x123f0a250>: ARSession is being deallocated without being paused. Please pause running sessions explicitly.
I receive this message when back from screen contain ViroARSceneNavigator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants