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

[Bug] ARMeshManager is not able to delete meshes completely #1190

Open
lilsleepee opened this issue Aug 12, 2024 · 0 comments
Open

[Bug] ARMeshManager is not able to delete meshes completely #1190

lilsleepee opened this issue Aug 12, 2024 · 0 comments
Labels
bug A bug in an ARFoundation-related package

Comments

@lilsleepee
Copy link

Unity bug report case number
CASE IN-82376

Describe the bug
ARMeshManager.DestroyAllMeshes does not delete meshes completely and when ARMeshManager is re-enabled (ARMeshManager.enable = true) the manager creates previous meshes to be deleted

To Reproduce
Steps to reproduce the behavior:

  1. Enable mesh manager and scan the room (ARMeshManager.enable = true)
  2. Disable mesh manager and delete spawned meshes via ARMeshManager.DestroyAllMeshes (ARMeshManager.enable = false; ARMeshManager.DestroyAllMeshes())
  3. Enable mesh manager (ARMeshManager.enable = true)
  4. Deleted meshes are created again even in parts of the room where you are not scanning this time but were scanned last time.

Expected behavior
Deleted meshes should not be created again, ARMeshManager should be able to start the scan from scratch

Actual behavior
ARMeshManager.DestroyAllMeshes does not delete meshes completely and when ARMeshManager is re-enabled (ARMeshManager.enable = true) the manager creates previous meshes to be deleted

Smartphone (please complete the following information):

  • Device: [e.g. iPad Pro 12.9-inch 5th generation]
  • OS: [e.g. iOS 17.5.1]
  • Unity version 2022
  • ARFoundation version 5.1.5
@lilsleepee lilsleepee added the bug A bug in an ARFoundation-related package label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in an ARFoundation-related package
Projects
None yet
Development

No branches or pull requests

1 participant