FixedBehaviorUpdate PhotonHandler.FixedUpdate Lag Spikes

Options


As you can see I keep having these horrible lag spikes in game, I'm not sure what causes them or where to look specifically. It's during regular play in a room with other players, it doesn't occur outside of the rooms, only when in game with other players.

Answers

  • Tobias
    Options
    DispatchIncomingCommands executes received messages and calls the fitting callback for those.
    In your case, I can see Debug.Log() further down the callstack and (probably more importantly) FindObjectsOfType.
    I would guess you are using PUN 2 but that should not use FindObjectsOfType itself. Can you please try to figure out the code line this is in and also tell us which version you use? If it's not the most recent: please update.