Please,
anyone knows if there is any BUG regarding connections with iPod and a server created in Unity?
We have a server created in unity and a game created for iPod. It is really simple, because it is a connection test, it only transfers some string and int datas.
When is near 30 min of connection, transfering data (normal data, nothing heavy) the iPods start to lose the server (the games get logged off). It does not matter how many iPods are connected, all starts to lose connection after 30 minutes.
The connections are all using wireless, good one.
The funny thing is that the game only logs off when is using the battery, if we plug the USB cable, the game does not log off server after 30 min.
The 30 min is not exacly, it is around 28-34 min.
:shock:
Using Unity iPhone Advance 1.7
did you check if this is a unity thing or a restriction with iPhone WiFi in general?
wouldn’t be too surprised if the iphone shuts it down if it takes too long on permanent or if you aren’t using it fully.
Also I assume you enabled “requires permanent wifi” right?
Hello dreamora,
I searched about the WiFi of the iPods, I found nothing (I mean, nothing bad). Also, when using internet normally (without Unity) everything runs ok, for hours.
Yes, we marked that WiFi option.
When using Unity, the user changes a float data from time to time (like 2, or 3 minutes), so there is always a data in networking.
We compiled it again, and it seems to be working now. :shock:
interesting …
perhaps there was some kind of exception in the previous version that killed a script on the fly?
Yes, I’m not sure… but I admit that, if any error occured in the last version compiled in XCODE, I did not see it… maybe something occured during compilation…
Anyway, thanks for the help