Instantiate is creating extra children objects

We're working through some Leap motion POCs and attempting to get networking working. There's a prefab in the Leap plugin which has several child prefabs. When we use PhotonNetwork.Instantiate it seems to create extra child prefabs, ones that are part of the parent prefab and then duplicates with the (clone) label. Is there a way for Instantiate to create only what's in the prefab in resources?

Comments

  • This seems to be PUN related, right?

    Can you check if your client is calling PhotonNetwork.Instantiate() multiple times for some reason? Is the resource prefab having many PhotonViews or is it special in any way?
Sign In or Register to comment.