Unity 5.1.0f1 - Errors and Warnings about Photon

Options
Hello, I updated the Unity engine from 5.0.2 and I get errors and warnings:
Unity_Errors.jpg

What I have to do? How I can fix the error? And, How you will fix the warnings?

Thank you.

Comments

  • Tobias
    Options
    PUN 1.51 maybe isn't prepared for Unity 5.1.
    I just released PUN 1.52 in the Asset Store. Please update and import again. That should work (if Unity kept the new UNITY_5 define, which we now use, too).
  • Ben1911
    Options
    Tobias wrote:
    PUN 1.51 maybe isn't prepared for Unity 5.1.
    I just released PUN 1.52 in the Asset Store. Please update and import again. That should work (if Unity kept the new UNITY_5 define, which we now use, too).
    Thank you.
  • Does this update to Photon fix the warning messages about RPC?

    Warning CS0618: `UnityEngine.RPC' is obsolete: `NetworkView RPC functions are deprecated. Refer to the new Multiplayer Networking system.' (CS0618) (Assembly-CSharp)
  • Tobias
    Options
    No, sorry.
    I see how annoying the RPC warnings are but if we want to work around this, everyone using PUN will have to rename all instances of [RPC]. I didn't want to include this in an otherwise minor update with a quick fix, released on a Friday.