PUN2 LoadLevel Timeout
Options
Using PhotonNetwork.LoadLevel, automaticallySyncScene = true.
When testing on a super low end device, loading a level takes ~100 seconds in offline mode. Yet when in online mode, the level loads for ~20 seconds then times out and decides to abort the level load. Is there a way to prevent this timeout?
When testing on a super low end device, loading a level takes ~100 seconds in offline mode. Yet when in online mode, the level loads for ~20 seconds then times out and decides to abort the level load. Is there a way to prevent this timeout?
0
Comments
-
It seems like the default kick time is about 20 seconds, my ideal solution would be to increase the kick time (to say 2 minutes).0
-
Hm I could just use SceneManager and room property callbacks, feel like I'm doing something wrong by not using Photon.LoadLevel though.0
-
Hi @sah1234,
Thank you for choosing Photon!
What PUN version do you use?
PUN 1.92 may have fixed this issue, it has the following in its version history:Added: Reloading a level is not taken into consideration when PhotonNetowrk.automaticallySyncScene is turned on and will trigger a level reload on all client0 -
Oh I see.
I sawautomaticallySyncSceneand I thought it's PUN1 since in PUN2 it'sAutomaticallySyncScene.
My bad.
Try updating to 2.6 and see if it helps?0 -
We try to keep PUN connected while you load. Obviously this is not working for you? How long are your load times?? How busy is the client? Can you run wireshark to capture the network traffic?0
-