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

App get crashed when enable feature points in ARSessionManager.onInitialize() #192

Open
nayanAubie opened this issue Apr 27, 2023 · 0 comments

Comments

@nayanAubie
Copy link

Place the below code snippet, run the app and wait for some feature points on the UI.
after some time, the app will get crashed.

ARView(
  onARViewCreated: onARViewCreated,
  planeDetectionConfig: PlaneDetectionConfig.horizontalAndVertical,
)
void onARViewCreated(
      ARSessionManager arSessionManager,
      ARObjectManager arObjectManager,
      ARAnchorManager arAnchorManager,
      ARLocationManager arLocationManager) {
    this.arSessionManager = arSessionManager;

    this.arSessionManager!.onInitialize(
          showFeaturePoints: true,
          showPlanes: true,
          customPlaneTexturePath: 'path of image',
          showWorldOrigin: true,
          showAnimatedGuide: true,
        );
    this.arObjectManager!.onInitialize();
  }

Tested only in Android 13 device

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

1 participant