Platform : Android
instance:getGamePeer()
According to the docs provided by exitgames,
http://doc-api.photonengine.com/en/corona/current/modules/loadbalancing.LoadBalancingClient.html#instance:getGamePeer
The “instance” in the above code is of type LoadBalancingClient.
--DEMO local photon = require "plugin.photon" local LoadBalancingClient = photon.loadbalancing.LoadBalancingClient local instance = LoadBalancingClient.new(params.MasterAddress, params.AppId, params.AppVersion,clientOptions)
Here calling getGamePeer() gives error if using corona plugin, but the same works fine with exitgames plugin.
The Photon(Exitgames) guys have added some new features that does not exist in current corona plugin. I think you guys also need to update the current plugin.
M4