Studio - VPS on android nothing happens

Hi everyone
I added a VPS location to my app with an object as a child (is a UI 3d label).
On the simulator it works as expected, when I run it and I press the ‘Found’ button the object is rendered on the scene and I can interact with it as expected.

If I go to the location and point the camera to the VPS with my actual device (android) nothing happens, no error on the console but the child element is not rendered on the screen.

I am not sure how to debug this, I double checked and all the permission are enabled (camera + location),
Are there more steps to have VPS working on device?

At code level there not much, there is a component that listen to reality event and display the button

ecs.registerComponent({
  name: 'Finder',
  schema: {
    startButton: ecs.eid,
  },
  schemaDefaults: {
    // Add defaults for the schema fields.
  },
  data: {
    // Add data that cannot be configured outside of the component.
  },
  stateMachine: ({world, eid, schemaAttribute}) => {
    function foundMe(e) {
      console.log('Found ME', e.data)
      ecs.Hidden.remove(world, schemaAttribute.get(eid).startButton)
    }

    ecs.defineState('starting').initial()
      .onEnter(() => {
        ecs.Hidden.set(world, schemaAttribute.get(eid).startButton, {})
        world.events.addListener(world.events.globalId, 'reality.locationfound', foundMe)
      })
      .onExit(() => {
        world.events.removeListener(world.events.globalId, 'reality.locationfound', foundMe)
      })
  },
})

If I run the simulator everything is working fine and I get all the info proper e.data for the specific VPS, but on device nothing happens.

Any suggestion?

Could you test with another device to rule out potential localization issues with your current one? Additionally, could you provide more details about the Android device you’re using?

Thanks for the answer,
unfortunately I don’t have another device

The device is Poco-Xiaomi, MIUI 14.0.4 / Android 13 TP1A.220624.014, browser Brave

Very good point, I actually didn’t think about a factor, that I have a VPN active, I am gonna try without it tomorrow and let you know how it goes.

I had issues in the past when using VPN

Thanks

It’s likely that the combination of the Brave browser and a VPN is causing the issue. I suggest trying without the VPN and using a different browser if you can.

Thank you for your response. I tried accessing it without using a VPN, and that seems to have resolved the issue.

Thanks for your help

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.