Many PhotonViews only for RPC - bad idea?

Options
I know that many PhotonViews are bad,

But how about having a lot of PhotonViews with empty observed components, only for RPCs? is that bad for the performance?

My intention is to have many PhotonViews on all Helpers for my god prefab, only for RPCs. I could put all the [PunRPC] callbacks on the god prefab script but that would obscure the code

Best Answer

  • Jasper_w
    Jasper_w
    Answer ✓
    Options
    Of course it will increase load times but it should not be to dramatic for gameplay. I looked at the debugger and am quite sure that there are no extra packets if they just exist. Why don't you just test it and create 1000 Views real quick ^^

Answers

  • Jasper_w
    Jasper_w
    Answer ✓
    Options
    Of course it will increase load times but it should not be to dramatic for gameplay. I looked at the debugger and am quite sure that there are no extra packets if they just exist. Why don't you just test it and create 1000 Views real quick ^^
  • Jasper_w
    Options
    Also, if you should ever get that "Received OnSerialization for view ID xxxx. We have no such PhotonView..." error on joining a game in progress, please hit me up... still can't find the source