Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

PhotonNetwork.automaticallySyncScene Bug

$
0
0
Hi,

I am using PUN 1.83.

There seems to be a bug with PhotonNetwork.automaticallySyncScene (when it is set to true).

From the docs, ONLY PhotonNetwork.LoadlEvel should cause the scenes to sync between players:

"Defines if all clients in a room should load the same level as the Master Client (if that used PhotonNetwork.Load -
Level)."

When I use SceneManager.LoadScene instead on the master client, it still causes the scenes to be synced across all players, this is unexpected behaviour.

This seems like incorrect behaviour and is preventing me from implementing certain features in my game.

I would like to avoid having to turn off PhotonNetwork.automaticallySyncScene as it is a useful feature most of the time.

Cheers,

Niall

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>