SoftwareGuy / Ignorance

Ignorance utilizes the power of ENet to provide a reliable UDP networking transport for Mirror Networking.
Other
248 stars 31 forks source link

Android hosting being problematic #48

Closed SoftwareGuy closed 5 years ago

SoftwareGuy commented 5 years ago

It seems that some Android devices block LAN Host mode on Android with Ignorance/Telepathy/et al with Mirror, but work with deprecated Unity UNET.

Investigate why this happens. Ignorance 1.3 works fine with an Android OS LAN Host and the Unity 2018.4 Editor connecting to the device itself. Maybe Ignorance 1.2.6/1.2.7 has a bug?

SoftwareGuy commented 5 years ago

20190618 Findings: Ignorance 1.3 Host on Galaxy Note 3 over WiFi, Client is Unity Editor 2018.4.0 LTS. Connects OK. Synchronization OK. Can confirm pong ball spawns and starts moving around, bouncing off things etc.

20190619 Findings: Ignorance 1.2.7.2 Host on Galaxy Note 3 over WiFi, Client is Unity Editor 2018.4.0 LTS. Connects OK. Synchronization a little slow at first but OK. Will attempt test on another device (android host with android client)

Galaxy Note 3 as host, Sony Xperia Z3 as client on 1.2.7.2: Slow to initialize due to UPnP routines running but Xperia connected to Galaxy Note 3 after about 5 - 10 seconds delay. Synchronization OK. Android 6.0 on Xperia.

Galaxy Note 3 as host, Galaxy Note 1 as client on 1.2.7.2: Slight delay in initialization. Connect OK. Synchronization OK. Android 4.4.4 (CyanogenMod) on Galaxy Note 1.

Conclusion from tests seem to indicate that it seems to be a device specific issue.

SoftwareGuy commented 5 years ago

Closing this as testing concluded that Android hosting mode is a case-by-case basis.