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

The load_anchors functions does not work #240

Open
woliver99 opened this issue Jan 5, 2025 · 1 comment
Open

The load_anchors functions does not work #240

woliver99 opened this issue Jan 5, 2025 · 1 comment

Comments

@woliver99
Copy link

I've noticed that

spatial_anchor_manager.load_anchor(entity.uuid, {}, OpenXRFbSpatialEntity.STORAGE_CLOUD) # Works
spatial_anchor_manager.load_anchors([entity.uuid], {}, OpenXRFbSpatialEntity.STORAGE_CLOUD) # Does not work

There isnt even a openxr_fb_spatial_anchor_load_failed being triggered.

Anyway its not really important since load_anchor works but just thought id report it

@dsnopek
Copy link
Collaborator

dsnopek commented Jan 6, 2025

Thanks for the report!

I'm not sure I've tried load_anchors() (the plural one) for loading from cloud storage. It is used by the scene sample project to load from local storage, and that's working fine for me in my testing.

I wonder if it's a local vs cloud thing?

Have you tried connecting to the openxr_fb_spatial_anchor_track_failed signal? It may succeed at the load part, but then fail to track them for some reason? That would still be weird if the same anchors load fine with load_anchor() (the singular one), though.

EDIT: Looking in the log (ie adb logcat or with remote debugging enabled) would be good too. We log a whole bunch of debug information that could be interesting.

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