Is Camera.main.ScreenToWorldPoint(Input.mousePosition) a source of indeterminism?

If so, is there other ways for getting the mouse position on screen?


  • Hi @keeps, it could be if you use it in OnSyncedUpdate, but you can use it in OnSyncedInput. The way you generate the input "doesn't matter" as all players will receive the same value.
  • Ah I see.. so it's actaully okay to do indeterministic stuff in OnSyncedInput, provided the results all get 'filtered' through TrueSyncInput set/get