Input on Shared mode
Answers
-
Hi @Jaynesh ,
Do you mean that your own player movement (for example) is delayed on your local machine? Or that your player has a delay to on other machines from other players?
If the case is the latter, then it is expected to have some delay, yes, as the connection is always relayed when using Shared Mode, but it should not be delayed for a few seconds, as you described.
Are you using the Best Region (leaving empty the
Fixed Region
field on thePhotonAppSettings
) or are you connecting to a specific Region? Are you able to test with another Region?Also, does this also happen with the default sample included on the SDK?
--
Ramon Melo
Photon Fusion Team
0 -
Thanks for your reply. I'm using this example here https://doc.photonengine.com/en-us/fusion/current/fusion-100/fusion-102
On shared mode, it detects the input after 2-3 seconds. On hosted mode, it's almost instant.
0 -
Hi @ramonmelo
Any suggestions for the above question, we are also facing the same problem using Shared mode.
0 -
If you are using Shared Mode, there is no need to use the Fusion Input System, as the local player is already the State Authority over its created NetworkObject, you can just modify the state at will and it will not have any kind of delay involved.
Do you have a reproduction project showing the delay when using the Input System?
--
Ramon Melo
Photon Fusion Team
0