Running an older version of PUN, How do I upgrade?

Options
I'm running an older version of PUN. I still use @RPC instead of PUNRPC. I want to know how to upgrade. I just updated my project to the newest version of Unity and now want to update PUN. Do I just download PUN from the asset store? Or do I have to delete the photon folders from my project and then install the new ones? Help is greatly appreciated

Comments

  • Tobias
    Options
    You will have to backup your project and then download and import the newer PUN version, yes.
    If you delete the existing files, your game will suffer from amnesia and forget what scripts it was referring to in terms of PhotonView components, etc. Don't do that, unless you see no other option :)

    Once imported, things probably don't work.
    The changelog.txt should give you some hints of what changed.
    Once the scripts all work again and everything compiles, I would open each scene and save it again. PUN and other plugins might update scene meta data in the background.

    Specifically for the PunRPC, we have a forum post.