Hello, I'm building a multiplayer building system with pun2, so each asset placed got a photonview+transform view, is there a limit on how much photonview can be placed? If yes, what can be done about it?
If you can identify your objects in the network in some other way, you don't need a PhotonView at all. It's just a way to come up with IDs at runtime and without clashing. You don't have to use this at all. You can use RaiseEvent(yourEvent) and in yourEvent, you'd name the ID of the object you target and modify in some way.
If it's working in your implementation, then .. use PhotonViews. It's fine. I just can't say if it will work in this or that case, without testing.
There is no hard limit but unless your building system is quite limited, I don't expect the PhotonViews to keep up with your demand.
In doubt, give it a quick go and build a proof of concept.
I've already implemented it, here's a video.
Is it possible to only add a photon view on the objects that currently need to move and destroy after it's placed all via RPC? Or should the photon view already be present? Thanks
analyze performance and traffic on our website.
By clicking on the „Accept All“ button you consent to the use of non-functional cookies and the subsequent
processing of personal data to optimize our website and services as described in more detail in our
By clicking on the „Customize or Deny all“ button you can decide otherwise.
Clicking on the „Customize“ button will take you to a page where you can configure the usage of non-functional
cookies (and related technologies) or deny all of them. You can access these settings at any time and also
subsequently deselect cookies at any time in the footer area of our website.
We use the following categories of cookies and related technologies to enhance your experience,
show you personalized content, and analyze performance and traffic on our website.
We respect your right to privacy and accordingly you can chose to not allow some types of cookies (and related technologies).
Click on the different category sliders and change our default settings to manage your cookie settings.
For more information on the specific cookies/related technologies we use and on how we use these,
Authentication cookies we use are required to run our services … Cookies are required:
These cookies collect anonymous data and allow us to optimize our
website and user experience. These cookies are listed here:
Help us to understand how visitors interact with our services, enables us
to analyze and improve our services (also through third party analytics).