Closed saadjumani closed 1 year ago
Resolved it. Apparently unity meta quest support plugin for unity has this setting called "Forced remove internet" which overrides the internet permissions declared in your android manifest and disables all internet connection, not just udp/osc.
Solve it by going to project settings -> XR Plugin Management -> OpenXR. Click the settings gear icon to the right side of Meta Quest Support and in that settings, uncheck the "force remove internet permissions".
Be mindful of the fact that as of unity 2022, this idiotic setting, like a bad fungal infection, will keep coming back so make sure to uncheck it every time you build the app. If you have already built an app with this option checked, clear that app's cache and remove all data before uninstalling the app and reinstalling with that option unchecked.
Hi, I am trying to use this package to create sync between my gaming app and NodeMCU/Arduino board which will pass on data from sensors.
It works fine on desktop and editor, especially after I disable the firewall. But when I build the same code into an apk and try to play it on my android device (specifically, oculus quest 2 VR) I can't receive any data. Im guessing similar firewall/security setting might be an issue here too? how do I get around solving this? Anyone else who integrated this with android/VR would like to give pointers?
specifically, "receiver.IsStarted" returns false on android but true on desktop editor.
Best regards.