Prevent from create Instantiate GameObject for new players
Hi, first sorry for my bad English
I have a problem, when new player joined the room and loading level finished, he can see all old PhotonNetwork.Instantiate gameobjects (Like Bullets and Particles).
Why? How i Can Fix it?
The client will already receive messages while joining the room. Those are buffered and then dispatched when the loading is done.
You need to check if the messages are too old to display and discard whatever doesn't make sense anymore in your context. PUN can't figure this out for you, because it doesn't know your game content as such.
Any message (RPC and updates) have a network time when they were sent. Check if that's too old to show the event.