PoseAI / PoseCameraAPI

Tools to work with the Pose Camera app
Apache License 2.0
146 stars 38 forks source link

UnityDemo Cannot Pair Device Properly on Ubuntu 20.04 #13

Closed marcilzakour closed 2 years ago

marcilzakour commented 2 years ago
PoseAI commented 2 years ago

if you have a firewall active on Ubuntu try disabling/creating a rule as Unity often gets blocked by the firewall, and that is usually responsible for the vast majority of connection issues.

The Unity demo was developed for Windows (and also works on MacOS). Can you try on Windows and see if you have an issue? Networking code / socket access can sometimes be problematic on different platforms and I am not familiar with how Unity implements on Linux.

I will leave this open as we will try to take a look at supporting Unity in Linux at some point as well.

marcilzakour commented 2 years ago

After testing with Windows 10 environment, it turned out that it has the same issue. Python version work, while Unity does not.

PoseAI commented 2 years ago

In Windows, Can you please close Unity, try briefly disabling your firewall and Windows Defender and then relaunch Unity? The behavior you describe really sounds like firewall is keeping Unity from receiving packets

marcilzakour commented 2 years ago

Thanks, it worked, I found the rule blocking the connection.

PoseAI commented 2 years ago

👍