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

Problem with deletion of postits #4

Open
mrztti opened this issue Nov 5, 2023 · 0 comments
Open

Problem with deletion of postits #4

mrztti opened this issue Nov 5, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mrztti
Copy link
Collaborator

mrztti commented Nov 5, 2023

Right now when deleting the postit, the call to destroy or to set the gameobject to inactive (both tried) results in the XR handle for spatial anchors to become invalid.

This means that once we destroy any game object, we cannot create any new ones for an unknown reason.

#3 exhibits this behviour, the problem does not come from destroying the anchor on the cloud (tested).

Problem comes from the line "SetActive(false)" in DestroyAnchor.

Testing without this line shows we can still create new postits afterwards.

The line where the crash occurs is the when we await the manager to save the anchor, which results in an openXR invalide handle error.

@mrztti mrztti added the bug Something isn't working label Nov 5, 2023
@mrztti mrztti self-assigned this Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant