0 votes

I'm experimenting with networking with the Oculus Quest, but it appears to not work. I have a simple StreamPeerTCP example that connects to my remote hosted server just fine when I run it from my desktop, but that doesn't even connect when run from the Quest.

Does Godot networking not function from the Quest? I'm using an earlier Godot 3.2 Alpha build (24e1039eb), in case that matters. This is the code I'm using:

func connectToServer():
    m_server = StreamPeerTCP.new()
in Engine by (379 points)

I have the same problem with the latest official release of 3.2.

I think I have narrowed down the problem to a Godot/Android interaction. For some reason, Godot on Android is unable to perform host name resolution. GDScript's connect_to_host() method returns either error 1 (general error) or error 26 (unable to resolve).

Does anyone have any ideas on why this happens?

1 Answer

0 votes

All I needed to do was check the Internet permission on my export, and networking on the Quest and Android worked.

by (379 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.