Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Quick Question about PhotonViews

$
0
0
I looked in the documentation and couldn't find it at all. I've recently just had this problem, but objects in game with Photonviews that have ID's that might match a gameobject entering with a similar Photonview destroy the entering object.

For example, if I have a ball item with a Photonview ID of 8 on it, and a player joins whose Photonview ID also happens to be 8, the player is destroyed.

How can I prevent this happening without being careful to change the Photonview ID's every time? Just in case something else gets instantiated in the room with a similar ID ( Like when Instantiating an item with a PhotonView already on it ). Is there a way to force the insignificant objects to just pick a different ID?

Viewing all articles
Browse latest Browse all 15755

Trending Articles