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

Issue saving SpatialAnchor locally #8

Open
framacia opened this issue Feb 7, 2024 · 1 comment
Open

Issue saving SpatialAnchor locally #8

framacia opened this issue Feb 7, 2024 · 1 comment

Comments

@framacia
Copy link

framacia commented Feb 7, 2024

I cloned the repo and without changing anything I built the SpatialAnchor scene with Unity 2022.3.8. I tried saving anchors locally and it wouldn't work. On the log I saw that the OVRSpatialAnchor.Save function returns false for success, with no more information.

I changed the SaveOptions to StorageLocation.Cloud on OVRSpatialAnchor to try saving to the Cloud, and it worked correctly.

Is there some kind of setting or write permission that I'm not setting correctly preventing me from saving locally?

@tdmowrer
Copy link

You do need to make sure that you have enabled "Anchor Support" in the OculusProjectConfig; however, saving to the cloud should have more restrictions on it than saving locally.

There should be more information (e.g., precise error codes) emitted in logcat. Could you share a logcat capture?

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

2 participants