Failed to Instantiate prefab: Car. Verify the Prefab is in a Resources folder (and not in a subfolde

Please help I have got this error message

Failed to Instantiate prefab: Car. Verify the Prefab is in a Resources folder (and not in a subfolder)

Thanks a lot!

Comments

  • Hi,

    Can you confirm you have put a Prefab in your Project Assets under a folder "Resources" named "Car" and it has a PhotonView component on it?

    Resources folder are special folders within Unity assets that can be loaded at runtime, Photon is relying on this for its network instantiation.

    Let me know if you keep having trouble with this.

    Bye,

    Jean
  • I have photonView component there. Check it on img https://ibb.co/dTXKc5

    Thanks
    Adrian
  • Hi,

    yes, but it's called "Cube", and your implementation expected "Car" as the name of the prefab, at least, that's what the error you paste indicates.

    Bye,

    Jean
  • OMG Thanks !!! OMG OMG OMG :D ... really thanks it was stupid mistake

    BTW; connection working so awesome :)
  • :) no worries, it happens to all of us :)