Network Transport Layer API does not work with iOS to PC????
I am working on a new open source project called Navi (you can check out all the code at the github repo). In short, it is a system that transfers the sensor data via a local router to your PC for use cases in virtual reality. Currently, I have the system working for an Android device to a PC. However, after porting the code to iOS, I notice the following error message when the iOS device tried to connect to my PC:
Error: Hack attack disconnect packet
However, when I try to connect the iPad to my Mac, it works just fine. The other interesting thing is that now when I connect my Android to my Mac, they do not pair and I get the following error in adb:
W/Unity (15172): Attempt to send to not connected connection {1}
W/Unity (15172):
W/Unity (15172): (Filename: Line: 3
52)
I should note that the android build was created by my PC and the iOS build was created on my Mac, which I am suspecting has something do with the problem.
Here is a link to relevant source code from the project in case someone notices anything silly I am doing:
NaviConnectionSDK, which is network code that runs on the PC or Mac. (Note you do not need a VR headset to test this)
NaviMobileManager, which is the network code that runs on the iOS or Android device.
For a quick overview of how these things are getting connected, check this wiki page. Also, currently, the master branch does not build for iOS, so please check out the iOSBuild branch if you want to test it out. Please let me know if you have more questions and I would be happy to try and answer them.
Your answer
Follow this Question
Related Questions
how to connect WEBRTC in unity ? 2 Answers
Networking With Colors Unity 5 2 Answers
Unity Networking API Public functions 1 Answer
[UNET] Can't spawn players with code 1 Answer