Low ping, high latency
Options
Hi guys, so i'm trying to make a racing game with PUN, and it shows considerable lagging. I tried all kinds of way to optimize it. (Including interpolation and prediction), but didn't help much. Is it possible if Photon has not much server in Australia? Or just my coding problems? Please help. And here is more info:
1. two players only
2. ping is around 50-60
3. I'm in Australia, Canberra
4. Photon just got updated, 1.6, so the latest version.
5. player synchronization is set to Unreliable
6. Interpolation and prediction added.
7. My networkManager code is under _Script object in hierarchy, and networkcharacter code is in ppl gameobject under prefab folder
In case you guys want to check out the exe file or source code, i posted both it in google drive.
Unity exe file:
https://drive.google.com/file/d/0B2d5iiXzgxfUQmJtc09iMGlYV28/view?usp=sharing
Unity source code:
Any advise would be appreciated.
Cheers
//p.s. i'm not a native speaker so please forgive my bad grammar
1. two players only
2. ping is around 50-60
3. I'm in Australia, Canberra
4. Photon just got updated, 1.6, so the latest version.
5. player synchronization is set to Unreliable
6. Interpolation and prediction added.
7. My networkManager code is under _Script object in hierarchy, and networkcharacter code is in ppl gameobject under prefab folder
In case you guys want to check out the exe file or source code, i posted both it in google drive.
Unity exe file:
https://drive.google.com/file/d/0B2d5iiXzgxfUQmJtc09iMGlYV28/view?usp=sharing
Unity source code:
Any advise would be appreciated.
Cheers
//p.s. i'm not a native speaker so please forgive my bad grammar
0
Comments
-
sorry, forgot to post the source code
https://drive.google.com/file/d/0B2d5iiXzgxfUYmZQTU5BWkowSnM/view?usp=sharing0 -
Anyone? Please help T_T0
-
Your ping is ok.
Please run PUN's DemoSynchronization demo and tell if at least 1 of 3 synchronization looks good for you.0 -
@vadim i ran the test, lerp and interpolation looks fine, and then i switched back to my game, everything runs perfect!!0