possibly photonView.RequestOwnership(); not working?
Options
Hello guys. I have scene objects which send RPCs. Before sending each RPC, I check:
but still after this it shows photonView.isMine = false. Why is that?
if (!photonView.isMine) {
photonView.RequestOwnership();
}
but still after this it shows photonView.isMine = false. Why is that?
0
Comments
-
Hi,
-- have you set the photon view owner property to "request" or "TakeOver"? i won't work if it's "fixed"
-- have you implemented OnOwnerShipRequest() callback?
Check the DemoChangeOwner-Scene in the demos folder, and check if that scene works for you. Then you can compare setup and code with your own implementation.
Bye,
Jean1 -
Thanks. Yeah photonView had fixed, I changed to takeover and all is good now.0