I am running into a problem where it is throwing an error saying I have too many scene objects.
Then I see threads saying too many photoviews are bad..
So how do I do this?
My game has a lot of enemies, lets say 100 on the map. That is 100 photonViews, it needs it because it updates position, hp, etc.
It also has resource nodes, which also has hp and I am photon instantiating them so it also must have a photonView. This is around 500 on the map.
If I dont use photonViews for these, how do I update their position, hp?
If I use RPC calls and add/remove a local copy, that means I have to keep track of every single instance and update accordingly which doesn't seem very effective.
What is the correct way of doing this?
Can I just increase the photonView limit?
Then I see threads saying too many photoviews are bad..
So how do I do this?
My game has a lot of enemies, lets say 100 on the map. That is 100 photonViews, it needs it because it updates position, hp, etc.
It also has resource nodes, which also has hp and I am photon instantiating them so it also must have a photonView. This is around 500 on the map.
If I dont use photonViews for these, how do I update their position, hp?
If I use RPC calls and add/remove a local copy, that means I have to keep track of every single instance and update accordingly which doesn't seem very effective.
What is the correct way of doing this?
Can I just increase the photonView limit?