Problem Description
As i understood, under the hood construct tries to sync objects with only UDP if i use "sync object" function. But this creates a huge problem for mobile games. Most mobile service providers blocked UDP connection over their 3g/4g networks, so no objects get synced. I also understand TCP has its flaws(throttling connection if package drops etc) but i think there should be an option for TCP sync.
Sample capx and APK and link
http://milionstone.com/test3g/
[attachment=2:qoh7gy1x]test3g.capx[/attachment:qoh7gy1x]
Screenshots
Over WIFI
[attachment=0:qoh7gy1x]wifi.png[/attachment:qoh7gy1x]
Over 3G
[attachment=1:qoh7gy1x]3g.png[/attachment:qoh7gy1x]
Steps to Reproduce Bug
- Make any game with object sync.
- Try to play it over mobile networks.
Observed Result
While game opens, players get connected, objects are not synced. So peers won't get created neither on host or client.
Expected Result
Automatically switch to TCP if UDP packages are blocked or an option to sync over TCP.
Affected Browsers
Browser independent. If there is a firewall that blocks UDP, games become unplayable.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Construct 2 Version ID
195