Hey,
So when I'm testing my game, I get disconnected after too many minions are spawned. No error or log gets debugged, the game objects associated with the player just get destroyed.
I believe this is to do with having too many PhotonViews attached to objects. I'm testing all three players/instances of the game on the same PC and the other instances don't disconnect when this happens. It happens after about 30 are spawned. If relevant, this is on AU servers.
Its an RTS style game, each minion on the local side has an animation controller and a NavMeshAgent, over the network I'm syncing the transform and the animation. Disabling the navmesh for remote clients.
I was hoping someone could provide me with some info on the capabilities of PUN. Am I doing a bad practice? Like should I be managing the syncing differently and limiting the photon views being used.
Hope someone can help :)
↧