View Issue Details

IDProjectCategoryView StatusLast Update
0029936RunnerNetworkingPublic2019-01-31 10:14
ReporterStewart BishopAssigned ToMark Alexander 
PriorityVery HighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionFixed 
PlatformWindowsOSOS Version
Product Version2.1.5 
Target Version2.2.2Fixed in Version2.2.2 
Summary0029936: Networking: network_connect crashes on Windows when it can't connect to a server
DescriptionWithin this sample project on game start up the game will instantly crash when network_connect() is called. If it doesn't crash for some reason it still doesn't return -1.
Steps To Reproduce1) Run the sample
TagsNetworking, Runner
1.4 Found In1.4.9999
2.x Runtime Found In2.1.5.246
2.x Runtime Verified In2.2.2.302

Activities

Stewart Bishop

2018-08-15 16:07

Developer  

NetworkBug.gmz (8,836 bytes)

Claire Hall

2018-08-16 14:18

Developer   ~0061279

The game is 'hanging' for 50 seconds while it waits to timeout the connection
It is possible to either alter the timeout or set the connection to be asynchronous - https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/networking/network_set_config.html

There should be more information added to the network_connect documentation - https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/networking/network_connect.html
It should inform about the ability to set asynchronous connect and the contents of the event that is returned

Mark Alexander

2018-11-06 11:22

Developer   ~0061952

Extra information added to the manual