cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with Shared Spatial Anchors and Colocalization in Unity Editor

samlabs
Honored Guest

Hi,

I'm experiencing problems with shared spatial anchors and colocalization in our Unity project using Quest 3 headsets. Specifically, when developing in the Unity Editor with test user accounts, the OVRSpatialAnchor.LoadUnboundAnchors method doesn't load any anchors under certain conditions—for example, when starting the Unity Editor before the Android application.

Interestingly, if we build and run the Android application on two headsets, everything works fine on the devices themselves.


Environment:


What I've Tried:

  • Entitlements: Ensured that test users have inherited entitlements.
  • Login: Logged in to the test user account under Meta > Platform > Edit Settings.
  • Testing Combinations: Attempted various combinations of running the project in the Editor and as an Android application, starting them in different orders with varying results.
    • Using only the Unity Editor instances doesn't seem to work at all.
    • Colocation position sync occurs in the headset if the Android application is started before the Unity Editor.
  • Logs: Reviewed logs for relevant errors and warnings but haven't found anything conclusive.

Request for Assistance:

  • Why might LoadUnboundAnchors not retrieve anchors when starting the Unity Editor before the Android application?
  • Are there best practices for using test users with shared spatial anchors in this context?
  • Any tips or guidance on resolving this issue would be greatly appreciated.

Thanks for your help!

1 REPLY 1

MetaQuestSupport
Community Manager
Community Manager

Hey there @samlabs, thank you for your post.

 

We appreciate you sharing your query on our forum, if you would require any further support from us here, please refer to our developer support website!

 

We hope that this helps and that you have a great day.