Hello,
In Unity i created with the Map Creator a Local Scene. With a BaseMap and a slpk layer. When i run the Play mode in Unity then i see the BaseMap and the slpk layer. But when i build a apk and place that on the Quest 2 with SideQuest and open the app then i only see the horizon and sky without the layers.
Or does this only work with the Oculus Link cable from Unity?
Can someone help me?
Solved! Go to Solution.
Is the BaseMap an https service or local to the device?
If https service, check out this post for solution. This applies to Android apps (e.g. apps running on a Quest 2 device)
Is the BaseMap an https service or local to the device?
If https service, check out this post for solution. This applies to Android apps (e.g. apps running on a Quest 2 device)
Thanks for your message. The Default BaseMap uses https.
I find the steps, but i find it little bit dangerous. Do you maybe have the libraries for me?
Then i can paste it in the assets folder. Should that work?
Best regards
I already find the binaries and now i see the BaseMap on the Quest. That works. I also can walk over the BaseMap. But how setting the BaseMap as Teleport Area? So that i can jump to areas. I seems that the tiles of the basemap changed everytime and loses his teleport area component.
I also doesn't see a slpk package that i loaded from local drive (maybe that's the problem). And i also doesn't see this link: https://services.arcgisonline.nl/arcgis/rest/services/Luchtfoto/Luchtfoto/MapServer/0 when i set this one as basemap or imagelayer.
I find it. Only Image Layers with this icon will work.
yes, we're aware that it's a bit hard to find data at the moment and are working on making the process easier. Other than the icon you mentioned, we also support the other two layer data types (which you can find on our doc https://developers.arcgis.com/unity/layers/).
We are dynamically loading content so that you can't use the basemap as a teleport area. You can create other GO's with a location component at points you would want to teleport to.
If you are loading the apk onto a device you will need to sideload the slpk onto your android device. This will also require you to update the filepath
Thanks for your answer.
When i use dynamically loading with this layer:
and turn my head in VR on the Oculus Quest the layer is loading and build the buildings. But is there a possiblity to hold/cache the layer so that it doesn't get rebuilt all the time when i turn my head?
Or is this layer to heavy for a sideloaded apk?
That is not currently something we support. At the moment we just load data based off where the camera is looking. In a future release we will add the ability to load data in different patterns that are better suited for VR.
If you want to try your own approach all you need to know is that the ArcGISCameraComponent controlls what is loaded. So if you attach it to an object other than the camera it will load from that POV. So you could for example, make another GO that is behind where the camera is to expand the content that you would see. The drawback to this is that if you move it to far away the level of detail will degrade.