Forum Discussion

freddyisreadytoresearch's avatar
23 days ago

Network Interface Meta Quest 3

Hello all together,

i am currently working on a project:
I would like to develop an app in Unreal Engine 5 and deploy this as android app.

For this project i would like to communicate via a websocket to the metaquest from an external device. For the usecase both wired or wireless is ok, but wireless would be possible.

Is this possible in general and how?
Do I have to deploy Node.js on the Meta Quest additionally?

Thanks for help!

Best regards,
Freddy

5 Replies

  • I have very limited knowledge of Websocket networking, but the game would be the client, and connect to a server running node.js. For personal applications this should be fine, but if you want this app on the Horizon Store, you will need to make sure that this connection is properly secured.

    I have found a rudimentary tutorial on setting this up that works on unity and UE5 here:
    https://dev.to/imaijiro/how-to-implement-socket-communication-in-unreal-engine-and-nodejs-4m0j

    Good luck.

     

    • freddyisreadytoresearch's avatar
      freddyisreadytoresearch
      Honored Guest

      Hi NemesisTWarlock​ 

      thanks for your answer
      Yes i also found that tutorial. The main problem i am facing is the networking between the Meta Quest and the node.js server.

      In your proposal the node.js server and Meta Quest application are on different devices
      Do as far as I have progressed now, the Meta Quest has a firewall which limits the data transfer and i dont know how to overcome this 

      • innit's avatar
        innit
        Adventurer

        Meta Quest doesn't have a Firewall; check you're local network settings as this could be blocking something. 

        Using:  <uses-permission android:name="android.permission.INTERNET" /> should be all you need.

        You could add <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> and <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> to make life easier for development.

  • does your built APK's Manifest file have Internet access permissions? you will need to add that to the APK for your app to be able to make non-meta networking requests.

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions