Forum Discussion
Manatee12
5 years agoHonored Guest
Open socket permission denied in Unity project with Android native plugin C library
I am planing to use some network connections in a Unity project I plan developing for the Oculus quest. I created a simple project to get network communication working. The communication library is a native C library which is loaded using DllImport. The native C library access the network stack socket API. The project works fine on Windows however when I run it on the Quest I get the error:
OS socket() failure, error 0XD: Permission denied
Is there anything I have to do to set the right permissions? How to I get permissions to access the network stack socket API.
OS socket() failure, error 0XD: Permission denied
Is there anything I have to do to set the right permissions? How to I get permissions to access the network stack socket API.
1 Reply
- Manatee12Honored GuestProblem solved. Forgot to add one of the permissions in the manifest file
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 9 months ago
- 11 months ago