How can I add more PhotonView ID's?

Hello, Currently the max ViewID’s for the PhotonView Component is 1000, how can I raise this? I read something about changing the MAX_VIEW_IDS but I am not sure how to.

Thanks

2 Answers

2

Well it just so happens that the hour I spent searching through code was not the right script, surprise, surprise. I did how ever find the answer to my question and for any one reading this who needs the answer here is how:

To increase the maximum view id’s (PhotonView ID) (MAX_VIEW_IDS)

Open the script, “PhotonNetwork” and at the very top a variable called, “public static readonly int MAX_VIEW_IDS = 1000;” is present.

Just change the number to a higher/lower number and you’re all good to go

Enjoy.

Thanks:))))))