Sending UDP Packages from installed .apk to pc in the same network
Hello everyone, I am trying to send UDP packages from my Meta Quest 2 to my PC over the WiFi to which both of the devices are connected. I have tried every solution I could, starting from adding the two lines in the Android Manifest about Internet Permission to disabling pc firewall. My current architecture is pretty simple: I got a UDPSender script that sends a simple package to the IP address of my pc to the port 5000, and this script is running inside an apk installed on the quest; i then have a UDPReceiver that listens for received packages at the port 5000. Everything done using Unity (so, C# for scripting). Using the Android Logcat of Unity linked to the Meta Quest I could see that everytime I try to send data, I get the error "Access Denied" with no more info. The Receiver on my PC, that in the meantime was running, didn't get anything and didn't throw any error. I am driving crazy about trying to understand what I am doing wrong, if someone was able to solve a similar issue or managed to send udp packages from a Quest to an other device, please let me know!960Views1like1CommentBluetooth connection between Quests headsets
Hello everyone, i develop a Unity XR app for Meta Quest and i want to connect 2 quests for local communication between quests. So i use bluetooth API by Google Android to connect the 2 Quest. (android.bluetooth.BluetoothAdapter android.bluetooth.BluetoothDevice android.bluetooth.BluetoothServerSocket android.bluetooth.BluetoothSocket) But i have a problem, when i try to pair a Quest in the Meta Quest Bluetooth settings, the pairing works but after 2 seconds, the connected Quest changes from "Connected Devices" to "Already connected", it is normal ? Another question is why there is 2 "Meta Quest 3" devices in the list, one with an Smartphone icon and another with a "Bluetooth" icon, which bluetooth device i have to choose ? Thank you961Views0likes1CommentTimeout error on network requests.
When i'm building my app with the Development build enabled in Unity build settings, the game does timeout on every network calls. (No problem if the build is not in development build) and on a PC build, it cut internet connection of my computer when the build is launched. Anyone with a solution for this problem ? or a way to debug it ?706Views0likes0Comments