Troubleshooting UDP Communication from Unity to Meta Quest 3
I'm trying to send data via UDP communication from a PC to a Meta Quest 3 using Unity (2022.3.20f1), but I'm unable to do so. I've tried port forwarding, changing security software settings, and even modifying the AndroidManifest with the following: <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> However, it's not working as expected. Please tell me how I can achieve UDP communication982Views1like1CommentSending 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!956Views1like1Comment