- Home /
RPC delay in specific circumstances
Hi! Just found this strange behaviour, I'd be happy if anyone could shed some light:
Server app running on an iPad, client in the editor on iMac. RPC's take ages to arrive! (as much as a few seconds).
iPad to iPad is fine, iMac to iPad is fine too. What gives?
dunno XD but Thumb Up hoping it gets a look at for ya =]
also send a shoutout to @dannyskim , has been very helpful with my iOS questions (thanks $$anonymous$$)
Could you give more details? Any arguments on the RPC? Frequency of RPC call?
Answer by Bunny83 · Jul 04, 2012 at 06:05 PM
I have to agree that the given information isn't really much...
A common mistake is to forget the tick "Run In Background" in the project settings. Especially the server. If it doesn't run in background it won't process any messages that arrives which the application isn't focused.
Can't think of something else at the moment. I don't use a mac, so i don't know if it's a mac / iPad specific problem, but it shouldn't make any difference. Anyway, try to test on as many platforms as possible.
Had "Run in Background" purposefuly unticked, didn't realise it affected the editor (was focusing on the debug window when experiencing the delays...).
$$anonymous$$any thanks, I was hoping it was something as silly as that.
Your answer
Follow this Question
Related Questions
Does failed RPC affects anything? 0 Answers
ClientRpc method called with default value 1 Answer
Sniper zooming (toggle) 2 Answers
How to play a sound from the middle of the sound? 2 Answers
Delayed Destroy Clone Not Working 2 Answers