Recently I tried testing how our project handles the user being offline during startup.
However for me, it just crashes on startup with the following error:
Assertion failed: address.m_family == DOMAIN_IPV4, file …\src\dlib\socket.cpp, line 387
I’ve tracked this down to our http.request calls. There’s a few, and any of them will trigger this error. Some of them are GET, some are POST. The simplest doesn’t have any headers and looks like this:
http.request(self.ping_server, “GET”, http_result)
I am using Windows and Defold 1.2.164. My colleague who has a Mac does not get these errors on the same project and same Defold version. Neither do the problems appear on an Android build.