Unity 2021.3.4 - mac
it seems like there are only two colocalisation options - either VPS or image tracking -
in the previous ARDKs we could create shared AR with neither of these - i.e. the system would just recognise that people were in the same space and the shared AR would work like that - is that no longer an option? - or is there still a way to do that not using the SharedSpaceManager ? thanks
Officially, the flow would either be to co-localize via an image or VPS anchor but it is also possible to have fake room options in the SharedSpaceManager as a workaround. Here’s a link to the SharedSpaceManager as well as a link to the documentation on how it’s used to get an idea of how this could work:
So we had a bit of a discussion regarding this since there appears to be only those two options for co-localization but I have another three suggestions for you.
- You can set the colocalization to mock mode and you’ll basically simulate all network functionality minus the localization. It is mainly meant for debugging but it can also be used in this way for your particular use case. This is probably the best of the three options to go with.
- A more primitive network stack consisting of the RoomManagemetnService, IRoom, INetworking, and IDatastore interfaces. Do note that while this does seem to provide more flexibility, you will need to invest some time into getting acquainted with the documentation for these since we don’t offer samples for this
- Due to the Unity ARFoundation integration, there is more freedom with the libraries you can use. You’re free to use other networking libraries with the caveat that Niantic services such as SharedSpaceManager, SharedOrigin, etc… will not work with them, and since ARDK hasn’t been officially validated to work with other 3rd party libraries, we won’t be able to provide support for issues you run into.